Closed Bug 1171029 Opened 9 years ago Closed 9 years ago

gfx/layers/apz/test/test_wheel_scroll.html fails when using GDK_SCROLL_SMOOTH

Categories

(Core :: Widget: Gtk, defect)

Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: acomminos, Assigned: acomminos)

References

Details

Attachments

(1 file)

Our workaround for omitting duplicate GDK_SCROLL_SMOOTH events causes synthesized scroll events to be skipped when GDK_SCROLL_SMOOTH is used for scroll synthesis, making gfx/layers/apz/test/test_wheel_scroll.html fail on the tryserver. This is because synthesized events are all initialized to GDK_CURRENT_TIME.

> #if GTK_CHECK_VERSION(3,4,0)
>     // check for duplicate legacy scroll event, see GNOME bug 726878
>     if (mLastScrollEventTime == aEvent->time)
>         return;                
> #endif
This patch modifies our detection of duplicate scroll events as documented in bug 958868 to only omit legacy events.

Thanks!
Attachment #8614688 - Flags: review?(karlt)
Attachment #8614688 - Flags: review?(karlt) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/86e252f5ad3e
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: