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

Regression: Push buttons with CSS "padding" property not properly clickable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.1
    • Widgets: Styles
    • None
    • All

    Description

      In Qt 5.15.1, CSS-styled push buttons can no longer be clicked in their padding area. Only the push button contents are clickable.

      This is a quite severe issue; in our application, suddenly only half of the button is clickable, which is extremely annoying.

      It seems likely that this change was caused by the fix for QTBUG-81452. I don't see a way to work around the issue on the client side.

      A minimal example reproducing the bug is attached, try clicking the button near its edges.

      Attachments

        1. test.ui
          0.8 kB
          Sven Brauch

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              svenb Sven Brauch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes