Community
Participate
Working Groups
The themed StyledText scroll bar scrolls on right mouse click. This is unexpected. Related to bug 490949.
Hi Dani, Not sure about this one (I must say that decision was deliberate)... Right now, Eclipse on Windows does open a context menu with options such as "scroll here", but I thought that was a bit overkill, so, I decided to adopt the same behavior from Eclipse on Linux, which scrolls as if it was a left click (particularly I find that more natural). As a note, I also took a look on other programs on windows: * Google Chrome: Just ignores that the scroll bar was clicked and shows the regular context menu. * Skype: Scrolls to the clicked position and then shows the regular context menu. * Internet Explorer: uses the native behavior showing a context menu as in Eclipse on Windows. * LibreOffice Writer: ignores the right click So, as that feature seems to be very unreliable among different programs on Windows, I think scrolling on right click seems a reasonable approach. So, ideally, I'd like to leave the behavior as is and mark this bug as won't fix.
You need to compare with Eclipse on Windows. Users are used to not scroll on right click. A theme should not change the user interactions whenever possible.
Mass move to 4.6 RC1. We might push out more to 4.7.
New Gerrit change created: https://git.eclipse.org/r/71417
Ok, https://git.eclipse.org/r/71417 changes the behavior to do nothing on windows in this case.
Lars, I reviewed the code and tested it on Windows. Please also review for RC2 and verify that it does not break your platform.
(In reply to Dani Megert from comment #6) > Lars, I reviewed the code and tested it on Windows. Please also review for > RC2 and verify that it does not break your platform. Works fine. On Ubuntu right mouse click scrolls and this still works. This is expected as the new code is guarded by a check for Windows.
Gerrit change https://git.eclipse.org/r/71417 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=e40c388d48d8ae0b5fd49993ce15ab1a1f8bb47b
Verified on Windows+Linux with RC2 Neon (4.6) Build id: I20160519-1730