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

Qt registers a click when you release the mouse button, which can lead to accidental function use

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.5
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      KDE neon 5.25
    • Platform/s:
      Linux/X11

      Description

      I've noticed that Qt seems to register a 'click' for both the OnPress and OnRelease functions. This can cause users to accidentally select things when using the mouse.

      For example, in any program:

      1. Select an entry from the menu bar using left click and HOLD left click down
      2. Move the mouse down so that it hovers over the menu dropdown
      3. Release left click

      This action is pretty easy to repeat, however it can be hard to pin down because it can almost be instantaneous if moving the mouse fast while in the middle of releasing the click.

      In my case I was using Kate (KDE text editor) and because of the nature of Qt registering a click OnRelease I had thought that Kate had closed my document by itself (more details here: https://bugs.kde.org/show_bug.cgi?id=452911). Instead I had 'clicked' on the Close Document option so fast that I barely noticed what had happened.

      Maybe there should be a little delay added before OnRelease is recognised as a valid 'click'? (shouldn't be too long, maybe just half a second, just enough to prevent accidental use). Thanks for your time.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              joeyjoejoe Joey JoeJoe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes