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

Qt & VS2012: QWizard Areo style title bar is too large when deploying VS2012 built app onto Windows 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.3.0
    • 4.8.5, 5.2.0
    • None
    • Windows 7, Visual Studio 2012, Qt 5.2.0
      Windows 7, Visual Studio 2012, Qt 4.8.5
    •  852308114ff901b86cca99268f498fc1d56b622e (dev 17.1.2014, 5.3) cf179ef3e38516555ce60517aa8e085b33e75744 (4.8.6. 20.1.2014)

    Description

      The title bar of a QWizard is much higher than that of a native wizard when using QWizard::AeroStyle. The problem can be seen with Qt 5.2.0 and Qt 4.8.5 compiled with VS2012 on Windows 7.

      The height is correct if Qt is compiled with VS2008 or VS2010.

      There's also an issue with adjusting the height of the wizard that seems to be related to the title bar heigh. When you move the mouse on top of the title bar, it’s possible to change the height of the wizard also from the middle of the title bar (as normally it would only be possible from the top edge of the title bar).

      Attached image shows the difference between compiler versions.

      Could it be that WM_NCCALCSIZE can’t have negative values with VS2012?

      Attachments

        1. checkCompilerVersion.diff
          0.9 kB
        2. getsystemmetrics_dynload.patch
          2 kB
        3. qtbug36192_diag5.patch
          6 kB
        4. qtbug36192.zip
          3 kB
        5. qwizard.png
          qwizard.png
          50 kB
        6. win7v12.log
          3 kB
        7. win7vs10.log
          3 kB
        8. win81mingw.log
          2 kB
        9. win81vs10.log
          3 kB
        10. win81vs12.log
          3 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes