<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] Reversed scrolling in GtkMenu"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=765907">765907</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Wayland] Reversed scrolling in GtkMenu
          </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>Backend: Wayland
          </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>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=327159" name="attach_327159" title="Simple reproducer program">attachment 327159</a> <a href="attachment.cgi?id=327159&action=edit" title="Simple reproducer program">[details]</a></span>
Simple reproducer program

This is a follow up of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Inverse Scrolling in Wayland Session on Charmap and Font Selection"
   href="show_bug.cgi?id=764595">bug 764595</a>

When there are a lot of entries in a GtkMenu, using the mouse wheel under
Wayland to scroll through the list moves the items in the wrong (natural)
direction.

Also, using the touchpad to scroll through the list of entries is very slow. 

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 themouse
wheel of the touchpad.

Expected results:

When using the mouse wheel, the items scroll in the expected direction.
Using the touchpad, the entries scroll fast enough.

Actual results:

Mouse wheel scrolls in the opposite direction, and scrolling with the touchpad
is very slow.</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>