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

ApplicationWindow with MenuBar gets too large height on Intel HD Graphics 4400 on Windows 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.10.0
    • QPA: Windows
    • None
    • Tested on:

      Windows 7. Intel Core i7-4500U. Intel HD Graphics 4400  driver version 9.18.10.3257.

      Windows 10. Intel Core i7-4500U. Intel HD Graphics 4400 driver version 20.19.15.4835.
    • 95a08a711e18c7d994085dff6c1d4df065fb273e (qtbase.5.10, 24.1.2018,5.10.1)

    Description

      The setup is a Windows 7 laptop with an external display. Both displays hare 1920 x 1080. No HiDPI. The graphics card is Intel HD Graphics 4400 with driver version 9.18.10.3257 (latest driver according to Intels update software).

      The problems is as follows. I have a test application written in Qt 5.10.0, with an ApplicationWindow with a MenuBar, see attached project, which output changes in height to a TextArea. The application windows height is set to 400.

      When starting the application on my external display, the height output is: 400, 425, 400. I think 425 is when MenuBar is added and after that, the application resize itself back to 400.

      If I start the application on my laptop, the height output is: 400, 425 only. If I move the application just a pixel, the last 400 is written to the output ie the height is ok again.

      If I comment out the creation of the MenuBar, the height is ok(400) on both laptop and external display.

      Is this a Qt issue, poorly written code from my side or has this something to do with Intel HD Graphics card (which has caused problems before).

       

      Attachments

        1. qtbug65917_log.txt
          5 kB
        2. qtbug65917_nomenu_log.txt
          3 kB
        3. qtbug65917.zip
          4 kB
        4. qtdiag_output.txt
          7 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-65917
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              johan_t Johan Telenius
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes