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

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

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes