Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3125

QPushButton in checked state shows incorrect background styling within Popup window on macOS.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.8.0.2, 6.8.3
    • PySide
    • None
    • MacBook Pro M4 Pro, macOS: Sequoia 15.5, Python3.13.4
    • macOS
    • macOS

    Description

      When a checkable QPushButton is placed inside a Popup window (Qt.WindowType.Popup), the checked state styling fails to properly update the background color on macOS. The button text correctly changes to white, but the background remains unchanged from the unchecked state (typically light gray). This creates a "text disappearance" effect in light color themes since white text is displayed against a light background.

       

      Attachments

        1. bug.png
          63 kB
          nai lao
        2. test.py
          1 kB
          nai lao
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            zhouhao nai lao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes