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

Disabled Hi Dpi on multiple screen with cut offs context menu popup

    XMLWordPrintable

Details

    • Windows

    Description

      With disabled "high dpi scaling" there are some issues with context menus if you are using multiple displays with different dpi settings (second screen 150%).

      The issues in attached example can be seen with  QTextEdit context menu and the "custom" context menu in the list widget.

      When the window is on the "non primary" screen, The First Time the "custom" context menu is opened the size is wrong. (attached screenshot) When opened the second time the size is correct. The QTextEdit context menu is always wrong on the non primary screen, i.e., the size does not changed when the menu is opened multiple times.

      The menu is either to big or to small, depending on which screen is the primary one (i.e., if the smaller or higher dpi setting is used on the primary screen).

      All this works fine with enabled QT_ENABLE_HIGHDPI_SCALING.
      But due to some other issue we can not use it.

      Attachments

        1. menuOpened.png
          menuOpened.png
          22 kB
        2. qtbug114915.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes