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

Possible to trigger QPushButton click when cursor is outside of the button boundary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.12.3
    • Fix Version/s: 5.15.2
    • Labels:
      None
    • Platform/s:
      macOS

      Description

      On a Mac, it's possible to trigger a click event when mouse cursor is outside of the button boundaries.  This is problematic with tight layouts where there is another widget nearby - in which cases clicking on area which appears to be part of another widget actually triggers a click in the push button instead.

      See attached demo for a demonstration.  Also attaching a demo UI file.

        Attachments

        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:
            matvey Matvey Adzhigirey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes