Community
Participate
Working Groups
The 'GEM Analyzer', 'GEM Browser', and 'GEM Console' all have bad implementations of the setFocus() method. The setFocus() method is meant for the client to set focus on one of its child controls, not for it to start requesting an activation to a part. Please change the implementation to grant focus to one of its controls. The workbench also guarantee that setFocus() will be called from a UI thread so it's not clear to me why the "We need to switch to the thread that is allowed to change the UI" comment (and subsequent code) was needed here.
Remy, Thanks. I will have this fixed today and apply to PTP HEAD. I believe the 4.07 build has already happened, but will also apply fix to ptp_4* branch as well. -Alan
Created attachment 195896 [details] Patch for bug 344261 Patch to replace GEM's incorrect setFocus() implementations.
Applied patch to HEAD and ptp_4_0 branch.