Community
Participate
Working Groups
Created attachment 154056 [details] Fix HEAD CompareContentViewerSwitchingPane#createTopLeft(Composite) creates a toolbar for a popup menu to switch content types. This popup menu is shown twice on Cocoa (first time after I release the mouse button, second time after the first menu got closed). That's because that method adds a mouse listener to the toolbar and a selection listener to the tool item, and both open the menu. On WinXP, the selection event is never sent out because the menu already opens on mouseDown. On Cocoa, the menu only opens on mouseUp (bug 246843), and the selection event is also sent out.
Comment on attachment 154056 [details] Fix Fix is not good. Better one follows.
Created attachment 154066 [details] Fix 2 Better fix. The first one broke keyboard access (only on accessible platforms -- not applicable to the Mac, see bug 276566).
Could you please release the patch?
Patch in HEAD. Marking as FIXED. Thanks for the patch Markus.
Marking as FIXED.