Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122681

TapHandler's pressed event only triggers when the press is lifted for RMB on Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 6.6.1
    • QPA: Wayland
    • None
    • Plasma 6.0
    • Linux/Wayland

    Description

      When pressing down the right mouse button in the QML window, the pressed property doesn't immediately change until the right mouse button is released. Can't reproduce on Linux/X11 or Windows.

      import QtQuick
      
      Item {
          width: 300
          height: 300
      
          TapHandler {
              acceptedButtons: Qt.RightButton
              onPressedChanged: console.log(pressed)
          }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            fusionfuture Yuanzheng Wang
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes