[Wayland-bugs] [Bug 765939] New: [Wayland] very slow scrolling in GtkMenu using the touchpad

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue May 3 12:25:57 UTC 2016


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: gtk-bugs at gtk.org
          Reporter: ofourdan at redhat.com
        QA Contact: gtk-bugs at gtk.org
                CC: carlosg at gnome.org, mclasen at redhat.com,
                    rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160503/8197a0c4/attachment.html>


More information about the wayland-bugs mailing list