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

Details

    • 0edf1390ca0cd70cd2b4d4c971a9631f0f35c24c

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes