Bug 545943 - [GTK4] Scrolling with the mouse wheel not working
Summary: [GTK4] Scrolling with the mouse wheel not working
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.12   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.12 M3   Edit
Assignee: Xi Yan CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 540385
  Show dependency tree
 
Reported: 2019-03-29 13:39 EDT by Eric Williams CLA
Modified: 2019-05-21 15:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Williams CLA 2019-03-29 13:39:59 EDT
Run Snippet7 or Snippet8 on GTK4 -- scrolling the mouse wheel is not working.
Comment 1 Xi Yan CLA 2019-03-29 15:48:36 EDT
I ran into a similar issue. Looks like it only works when mouse is focused on the scrollbar and gdk_event_get_scroll_deltas in gtk_scroll_event handler does not return delta anymore. Maybe the X/Y scroll delta can be retrieved from the "scroll" signal from GtkEventControllerScroll.
Comment 2 Eclipse Genie CLA 2019-04-16 12:16:36 EDT
New Gerrit change created: https://git.eclipse.org/r/140697
Comment 4 Xi Yan CLA 2019-04-16 14:45:16 EDT
(In reply to Eclipse Genie from comment #3)
> Gerrit change https://git.eclipse.org/r/140697 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=866612c0831ea791d7b07a901e0ec2b5b876a422

In master now.
Comment 5 Eric Williams CLA 2019-05-21 15:06:23 EDT
Verified in I20190521-0600.