<html>
    <head>
      <base href="https://bugs.freedesktop.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 - Middle mouse button stops working until another one pressed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104140">104140</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Middle mouse button stops working until another one pressed
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Hi-Angel@yandex.ru
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=135994" name="attach_135994" title="evemu output">attachment 135994</a> <a href="attachment.cgi?id=135994&action=edit" title="evemu output">[details]</a></span>
evemu output

I am using git-version from commit 6a8d5a6e: "meson.build: bump to 1.9.900".

Sometimes middle click stops working in all applications in the system i.e. I
can't scroll, open a new tab, paste from primary clipboard.

I can use keyboard, but the only action that makes the button to start working
again is clicking a distinct mouse button, e.g. the Left one.

The attached `evemu-record` output is written after Middle-mouse button stopped
working, by clicking it many times. Afterwards I clicked Left Mouse button
(thus Middle Mouse button started working), and a few times Middle Mouse Button
again.

        $ udevadm info /dev/input/event3 
        P:
/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/0003:192F:0716.0008/input/input20/event3
        N: input/event3
        S: input/by-id/usb-192f_0716-event-mouse
        S: input/by-path/pci-0000:00:12.0-usb-0:1:1.0-event-mouse
        E: DEVLINKS=/dev/input/by-path/pci-0000:00:12.0-usb-0:1:1.0-event-mouse
/dev/input/by-id/usb-192f_0716-event-mouse
        E: DEVNAME=/dev/input/event3
        E:
DEVPATH=/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/0003:192F:0716.0008/input/input20/event3
        E: ID_BUS=usb
        E: ID_INPUT=1
        E: ID_INPUT_MOUSE=1
        E: ID_MODEL=0716
        E: ID_MODEL_ENC=0716
        E: ID_MODEL_ID=0716
        E: ID_PATH=pci-0000:00:12.0-usb-0:1:1.0
        E: ID_PATH_TAG=pci-0000_00_12_0-usb-0_1_1_0
        E: ID_REVISION=0000
        E: ID_SERIAL=192f_0716
        E: ID_TYPE=hid
        E: ID_USB_DRIVER=usbhid
        E: ID_USB_INTERFACES=:030102:
        E: ID_USB_INTERFACE_NUM=00
        E: ID_VENDOR=192f
        E: ID_VENDOR_ENC=192f
        E: ID_VENDOR_ID=192f
        E: LIBINPUT_DEVICE_GROUP=3/192f/716:usb-0000:00:12.0-1
        E: MAJOR=13
        E: MINOR=67
        E: SUBSYSTEM=input
        E: USEC_INITIALIZED=90643469340</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>