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

[Reg 6.5 -> dev] QMenu has wrong DPR initially on other screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.6.0
    • dev
    • None
    • Windows 11, Multi-monitor with different scale factors
    • Windows
    • d0378c32d (6.6), 198eaaf52 (dev), 89ce65c2d (dev)

    Description

      Primary screen has 100% scale factor.

      Second screen has 150%.

       

      Steps to reproduce:

      • run the attached project from "QTBUG-115452.zip" archive on primary screen
      • click on "Open Sub-Window" button
      • move the sub-window to second screen
      • close the sub-window and open it again (so it appears on second screen)
      • click on "Show Menu" button in the sub-window
      • BUG: content of menu is wrong, see the attached "bad-menu.png" file
      • click again on "Show Menu" - works fine

      Attachments

        1. bad-menu.png
          bad-menu.png
          48 kB
        2. QTBUG-115452.zip
          3 kB

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              nodir.temir Nodir Temirkhodjaev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes