https://bugzilla.gnome.org/show_bug.cgi?id=765939

            Bug ID: 765939
           Summary: [Wayland] very slow scrolling in GtkMenu using the
                    touchpad
    Classification: Platform
           Product: gtk+
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Widget: GtkMenu
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
     GNOME version: ---

Created attachment 327221
  --> https://bugzilla.gnome.org/attachment.cgi?id=327221&action=edit
Simple reproducer for testing purpose.

+++ This bug was initially created as a clone of Bug #765907 +++

This is a follow up on bug 765907 which was a follow up on bug 765907 as well

Using the touchpad to scroll through the list of entries is very slow under
Wayland. 

No such issue under X11.

Attaching a simple reproducer.

Steps to reproduce:

1. Save and build the source

   $ gcc menuitems.c -o menuitems -Wall `pkg-config gtk+-3.0 --cflags --libs`

2. Run under Wayland
3. Open the menu and try to scroll through the list of entries using the
scrolling on the touchpad.

Expected results:

Using the touchpad, the entries scroll fast enough.

Actual results:

Scrolling with the touchpad is very slow on Wayland.

Additional data:

GtkMenu uses both SCROLL_UP/DOWN events and SCROLL_SMOOTH events, but gets (and
uses) only smooth events on Wayland, so it's much slower on Wayland than on
X11.

The solution would be to use only non-emulated events smooth events and adjust
the scroll velocity in GtkMenu.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to