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

QWidget fails to adopt to changed window decorations sizes when switching from Aero to Classic themes in Windows

XMLWordPrintable

    • 0edf1390ca0cd70cd2b4d4c971a9631f0f35c24c

      Change Windows theme from Aero to Classic (or vice versa): Qt windows fail to adopt to window decorations changes.
      Typically, Classic theme has thinner borders and title bar. QWidget remains the same size, and it's contents remain the same size. In case of aero->classic switch - empty space appears between content and window frame. In case of classic->aero switch - parts of contents are hidden below frame.

      The same happens when changing title bar and borders sizes manually.

      See screenshots for aero->classic switching.

      WM_THEMECHANGED, WM_STYLECHANGED should be handled properly.

        1. qwidget_windows_theme_aero.png
          13 kB
          Sergei Nevdakh
        2. qwidget_windows_theme_classic.png
          6 kB
          Sergei Nevdakh
        3. ThemeChange.zip
          2 kB
          Sergei Nevdakh
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            sergei.nevdakh Sergei Nevdakh
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes