Community
Participate
Working Groups
Build Identifier: 20110218-0911 The ctrl+click is reserved for the context menu on Mac. The handleFinished method in the CreationTool class should look like this to work properly on MacOs X. protected void handleFinished() { if (!getCurrentInput().isModKeyDown(SWT.MOD1)) { super.handleFinished(); } else { reactivate(); } } Reproducible: Always
Using SWT.MOD1 will cause both platforms to Ctrl key? Or is it another key on Mac? In this case, it will require to also modify the tooltip. (In reply to comment #0) > Build Identifier: 20110218-0911 > > The ctrl+click is reserved for the context menu on Mac. > The handleFinished method in the CreationTool class should look like this > to work properly on MacOs X. > > protected void handleFinished() { > if (!getCurrentInput().isModKeyDown(SWT.MOD1)) { > super.handleFinished(); > } else { > reactivate(); > } > } > > Reproducible: Always
Hi Aurelien, SWT.MOD1 is CMD on Mac, CTRL on Windows/Linux. Regards, Andreas
Created attachment 223828 [details] patch patch attached
patch applied on HEAD