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

Tooltips, context menus and other floating elements appear in another screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.2.4
    • None
    • Windows 10. Qt 6.2.4 compiled with Visual Studio 2019.
    • Windows

    Description

      Using a multi display environment, depending on which screen the application is shown, the floating elements appear in another screen instead of appearing where they should. The following elements are shown in another screen:

      • Tooltips
      • Dropdown from QComboBox
      • Context menu entries from the QMenu

      I attach a simple test program.

      This is the configuration of my displays (display 2 being the "main display").

      The behavior is the following: 

      • If the application is in screen 1 or 3 (not the main displays), the dropdown is shown where it should (see image below)
      • If the application is in screen 2 (the center and main display), the dropdown is shown in either screen 1 or 3. The chosen screen is in fact the last screen where the app was before being in screen 2. So, if it was initially in screen 1 and I moved it to screen 2, the dropdown is shown in screen 1 instead of screen 2. But if it was in screen 3 and I moved it to screen 2, the tooltip is shown in screen 3

      Attachments

        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
            fern17 Fernando Nellmeldin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes