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

Qt Quick: Broken behaviour on Windows 11 with Qt.ExpandedClientAreaHint and Qt.NoTitleBarBackgroundHint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.9.0
    • GUI: Window management
    • None
    • Qt. 6.9.0 (MinGW 64-bit and MSVC 64-bit)
      Microsoft Windows 11 24H2
    • Windows

      On Windows, when combining flags Qt.ExpandedClientAreaHint and Qt.NoTitleBarBackgroundHint on a QML Window, the following issues appear:

      1. Maximize/minimize animations no longer work (also aero snap no longer works)
      2. Sometimes when I hover over the window after giving focus to another window for some time, the app will switch to fullscreen without me doing anything
      3. Maximize behaves more like a 'fullscreen' in the sense that it hides everything, even the taskbar
      4. The native titlebar title and button symbols render weirdly, it seems to lack antialiasing and to be in some kind of 'bold' font
      5. Hovering over the window controls shows an opaque color for the minimize and maximize buttons
      6. The application doesn't appear on the taskbar or the alt+tab menu

      I've tried on both my main Windows 11 installation and on a mostly stock Windows 11 virtual machine running on top of Linux, both present the exact same behavior
      (Note: I have StartAllBack11 installed, but at least on my main Windows 11 install, I tried with it disabled and the same behavior occurred)

      Attachment descriptions:
      Windows_Native.png -> Screenshot of the problem on my main Windows 11 installation
      Windows_VirtualMachine.png -> Screenshot on a Windows 11 Virtual Machine
      ExpandedClientAreaTest.zip -> minimal reproducible example

        1. ExpandedClientAreaTest.zip
          2 kB
          Moises Apaza
        2. Windows_Native.png
          161 kB
          Moises Apaza
        3. Windows_VirtualMachine.png
          432 kB
          Moises Apaza
        4. Screenshot 2025-09-02 at 18.52.24.png
          15 kB
          Eduard Gavrilovici
        5. Screenshot 2025-09-02 at 18.52.40.png
          14 kB
          Eduard Gavrilovici
        6. Screenshot 2025-09-02 at 18.53.52.png
          53 kB
          Eduard Gavrilovici
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            owolff Oliver Wolff
            typical_player Moises Apaza
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes