<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] very slow scrolling in GtkMenu using the touchpad"
href="https://bugzilla.gnome.org/show_bug.cgi?id=765939">765939</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Wayland] very slow scrolling in GtkMenu using the touchpad
</td>
</tr>
<tr>
<th>Classification</th>
<td>Platform
</td>
</tr>
<tr>
<th>Product</th>
<td>gtk+
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>Widget: GtkMenu
</td>
</tr>
<tr>
<th>Assignee</th>
<td>gtk-bugs@gtk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ofourdan@redhat.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>gtk-bugs@gtk.org
</td>
</tr>
<tr>
<th>CC</th>
<td>carlosg@gnome.org, mclasen@redhat.com, rob@robster.org.uk, wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>GNOME version</th>
<td>---
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=327221" name="attach_327221" title="Simple reproducer for testing purpose.">attachment 327221</a> <a href="attachment.cgi?id=327221&action=edit" title="Simple reproducer for testing purpose.">[details]</a></span>
Simple reproducer for testing purpose.
+++ This bug was initially created as a clone of <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [Wayland] Reversed scrolling in GtkMenu"
href="show_bug.cgi?id=765907">Bug #765907</a> +++
This is a follow up on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [Wayland] Reversed scrolling in GtkMenu"
href="show_bug.cgi?id=765907">bug 765907</a> which was a follow up on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [Wayland] Reversed scrolling in GtkMenu"
href="show_bug.cgi?id=765907">bug 765907</a> 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>