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

Menus drawn with transparent background when switching from windows11 to windowsvista style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 6.7.2
    • GUI: Menus
    • None
    • Windows 11
    • Windows

    Description

      Switching the application style from windows11 to windowsvista causes menus to be drawn with transparent background.

      Using the attached demo app:

      • Click "Switch to windows11" -> style updates to windows11 style
      • Click "Switch to windowsvista" -> style updates to windowsvista style
      • Click on menu item -> menu shows with transparent background

      I have tried with Light and Dark modes, and also forcing Dark mode off with the same results.

      Note that using windowsvista style as the initial style functions correctly, it's only after using windows11 style and then switching to windowsvista that there's a problem.

      Attachments

        1. dark_mode_styles.zip
          7 kB
          Michael Partridge
        2. screenshot-1.png
          34 kB
          Michael Partridge

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              michael.partridge Michael Partridge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes