Bug 201984 - [navigation] Horizontal scrolling with Ctrl+mouse wheel
Summary: [navigation] Horizontal scrolling with Ctrl+mouse wheel
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P5 enhancement with 10 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-01 15:48 EDT by Sharkoon CLA
Modified: 2023-08-09 09:42 EDT (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sharkoon CLA 2007-09-01 15:48:54 EDT
Ive used textpad for a long time and they had horizontal scrolling with ctrl mousewheel scroll.

This is so usefull! I'm missing this in eclipse!
Comment 1 Dani Megert CLA 2007-09-04 11:40:44 EDT
This is not something I'd hack on top of StyledText.
Moving to SWT for comment.
Comment 2 Felipe Heidrich CLA 2008-07-24 12:49:53 EDT
Personally I think the application should decide what to do with ctrl+mouse_wheel. I've seen different options, one can use ctrl + mouse wheel to:
1. increase/decrease the size of the font (zoom).
2. horizontal scrolling
3. back/forward behaviour

Dani, it should be okay for you to implement this on top of StyledText. All you need to do is to set doit to false when control is down and implement you own action.


I'm moving this back to JDT-Text, I feel that StyledText is not the right place for this (the behaviour is too generic for us).
Comment 3 Holger Klene CLA 2012-04-01 10:49:15 EDT
For horizontal scrolling try a mouse with a tilt wheel. I admit, it takes a little training, to get used to, but nowadays it works quite well for me.

Otherwise Felipe is right: Ctrl-mouse wheel is already taken by zoom in browsers and I personally would prefer Eclipse should drop its "fast scroll" in favor of the zoom.

But this depends on bug 84776.
Comment 4 Daniel Sokolowski CLA 2014-01-23 22:01:30 EST
I so need this implemented - I would say the majority don't have tilt wheel mouses or horizontal scrolling functionality in their touchpad and so would want this ability.

Rather then worrying what other programs do or what the functionality should be how about allowing the key modifier be specified and this functionality off by default - same can be done for the zoom functionality.
Comment 6 Daniel Sokolowski CLA 2014-01-30 09:32:31 EST
I'd like to add that with that horizontal scrolling does not work in all windows, 

I believe this might be an Eclipse limitation. Using Eclipse's 'CSS Spy' to identify widgets I can confirm that 'StyledText (org.eclipse.swt.custom)' does not horizontal scroll but 'Tree (org.eclipse.swt.widgets)' does.
Comment 7 Daniel Sokolowski CLA 2014-01-30 09:38:06 EST
I would also suggest the key modifier be SHIFT instead of CTRL which is more common with zoom now; or at least configurable.
Comment 8 Leo Ufimtsev CLA 2014-06-17 10:49:52 EDT
I'd be nice to have it on fedora/redhat linux. I'd be happy to test if a fix/enchancement comes around. (I'm in the eclipse/CDT dev deam).
Comment 9 Daniel Sokolowski CLA 2014-09-15 10:41:52 EDT
'Navigator' view supports horizontal scrolling but 'Project Explorer' does not as per 'Comment 5" (https://bugs.eclipse.org/bugs/show_bug.cgi?id=201984#c5)
Comment 10 Markus Keller CLA 2014-09-23 10:40:43 EDT
Related bugs for missing horizontal scrolling with 4-way wheels on Windows:

Bug 444388: Trees with a MeasureItem listener (e.g. Package Explorer, Project Explorer, but not Navigator)

Bug 444851: Canvas (e.g. StyledText, which is used in text editors)
Comment 12 Dennis Lee CLA 2015-05-03 20:53:26 EDT
(In reply to Holger Klene from comment #3)
> For horizontal scrolling try a mouse with a tilt wheel. I admit, it takes a
> little training, to get used to, but nowadays it works quite well for me.
> 
> Otherwise Felipe is right: Ctrl-mouse wheel is already taken by zoom in
> browsers and I personally would prefer Eclipse should drop its "fast scroll"
> in favor of the zoom.
> 
> But this depends on bug 84776.

But even for mouse with tilt wheel horizontal scrolling isn't working... The horizontal scroll feature of the mouse is working in other applications.
Comment 13 Markus Krätzschmar CLA 2023-08-09 09:42:10 EDT
Just to update this issue with a current comment 
It still dosn't work. 
Used Version: 2023-06 (4.28.0) Build id: 20230608-1333
on Windows 10 tested with tilt wheel of a MX Master 3.
I really really would appreciate that functionallity to come soon. 
Thanks a lot.