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

QPushButton hit area not correct (macOS)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.5, 6.2.0 Beta2
    • None
    • macOS Big Sur 11.5.1 (20G80)
      MacBook Pro (16-inch, 2019)
    • macOS

    Description

      Looks like https://bugreports.qt.io/browse/QTBUG-81452 wasn't fixed entirely.

      A QPushButton with an image set via the styles sheet still has a dead area in the bottom right corner that is not regarded as hit area. Therefore I would assume that the bevel area is still ignored for the mouse events.

      I added a short test example that showcases the bug. 

      Attachments

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            vjungbluth Victor Jungbluth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: