Community
Participate
Working Groups
I find that search dialogs that have a find forward and a find backward button are easier/quicker to use than the one that's in eclipse now where you have to select a radio button each time you want to search in a different direction. With these two buttons the radio buttons forward and backward could be eliminated from the dialog.
Since 3.7 the search dialog will temporarily invert the search direction by issuing Shift-Enter -> http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2FwhatsNew%2Fplatform_whatsnew.html The problem is, you cannot be triggered by shift-mouse-click (which would be expected in a consistent interface.) Another approach might be to allow for right-clicks to invert the direction.
> The problem is, you cannot be triggered by shift-mouse-click That's right, Shift+Click doesn't "trigger" me ;-) But Shift+Click reverses the find direction for me, as expected (on Windows 7). What platform are you? :-)
This is Kubuntu 11.10 Oneiric Ocelot with KDE 4.7.4 running I20120315-1300 with 1.7.0_03-b04 Oracle Java The shift-left-click on "Find" button definitely goes forward (or the checked direction that is), while shift+enter goes backward. It doesn't change using the other shift key or issuing the left-click via tapping the touchpad or via an external mouse.
Thanks Holger, that sounds like a bug in SWT on GTK then. Could you please file a bug against SWT? We just check SelectionEvent#stateMask.
(In reply to comment #4) > Thanks Holger, that sounds like a bug in SWT on GTK then. Could you please file > a bug against SWT? We just check SelectionEvent#stateMask. This was once claimed to be fixed (see bug 65679 comment 21) but either it wasn't tested correctly or got broken again.
(In reply to comment #5) - Will you reopen bug 65679 or - shall I still create a new bug or - can we take over this bug 23427 here? BTW: Tested with Eclipse 4.2M7 I20120503-1800 and Oracle Java 1.7.0_04-b20 -> no effect of shift click
(In reply to comment #6) > (In reply to comment #5) > > - Will you reopen bug 65679 or > - shall I still create a new bug or > - can we take over this bug 23427 here? Please file a new bug against Platform SWT.
I filed bug 380257 for comment 1 to 7.
Fixed Shift+Click (comment 1-7) with http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=e4c6b510344ca7b6b3fbf687fb55addfb4b7ba40