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

Button style is incorrect for an inactive window in MacOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.15.9
    • GUI: Painting
    • None
    • macOS

    Description

      Hello,

      There seems to be a bug which occurs when opening an inactive window on MacOS. If a window is opened in the inactive state, the button with appear with the wrong style and no text.

      This behavior can be seen in the attached example as well as the screen shots. To run the example simply paste the main.cpp in a basic widgets application and run it. A blanc window will appear, if you deactivate the window, by moving to a different application, it will cause and inactive window to appear. This is where you can see the bug in the buttons appearance. 

      This bug is not present in Qt 6 as I have also shown in with the screen shots, but I believe it should be fixed in Qt 5.15 as well. 

      Attachments

        1. InactiveWindow-5.15.9.png
          InactiveWindow-5.15.9.png
          257 kB
        2. InactiveWindow-6.2.4.png
          InactiveWindow-6.2.4.png
          256 kB
        3. main.cpp
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            benjamin.hadra Benjamin Hadra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes