Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 26902 - GTK: mouse wheel doesn't work on the compare editor
Summary: GTK: mouse wheel doesn't work on the compare editor
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P3 normal with 3 votes (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: Billy Biggs CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 66964 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-21 16:38 EST by Luc Bourlier CLA
Modified: 2015-10-07 05:29 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Bourlier CLA 2002-11-21 16:38:15 EST
Build 200211191210
Linux-GTK

Select two files in the Navigator view, right click>compare with>each other. The
mouse wheel doesn't work on the created editor.

Works on win32
Comment 1 Christophe Cornu CLA 2002-11-22 10:30:25 EST
Chrix to investigate and advise

Internal comment. Check wich events the StyledText/Composite get when the 
mouse wheel is moved - find why it is not propagated to the scrollbar driving 
the compare view.
Comment 2 npitman CLA 2003-01-08 21:27:09 EST
Version: 2.1
Build id: 200212181304
WinXp, JDK 1.4.0_02

In the compare editors, the mouse wheel scrolls the windows left and right 
rather than up and down.  It works correctly in the editors
Comment 3 Veronika Irvine CLA 2003-02-21 10:48:27 EST
On Windows:

If the mouse driver does not handle the mousewheel, the SWT code looks for a 
vertical scrollbar and if none exists, it looks for a horizontal scrollbar and 
scrolls it instead.  This is the same thing most mouse drivers that are aware 
of the mousewheel do.

On GTK:

GTK sends the events.  There is no code in SWT managing this.  In all 
likelihood, most drivers behave as the windows drivers.
Comment 4 Billy Biggs CLA 2004-09-22 17:20:44 EDT
I think this bug is out of date, works fine for me.
Comment 5 Billy Biggs CLA 2004-09-22 17:42:13 EDT
Sorry, it is broken for me.  It's not broken in I200409211200 which had a busted
compare editor. :)
Comment 6 Felipe Heidrich CLA 2004-10-14 16:43:27 EDT
*** Bug 66964 has been marked as a duplicate of this bug. ***
Comment 7 Billy Biggs CLA 2005-05-19 12:37:07 EDT
Fixed > 20050519

The problem was that GtkScrolledWindow will not send scroll events if the
scrollbars are hidden.
Comment 8 Wiktor Nizio CLA 2015-10-07 05:29:42 EDT
It's still the same in Eclipse 4.5.1. I'm on 64bit Ubuntu 15.10 beta with Unity.

Compare with bug #473851.