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

QMenu move in showEvent() create strange result on secondary screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.14.2
    • Fix Version/s: None
    • Component/s: GUI: Menus
    • Labels:
      None
    • Environment:
      Windows 10 Professional Version 18363.1139
      Qt 5.14.2 msvc-2017
    • Platform/s:
      Windows

      Description

      To compensate for a margin set in the style of the object, we are trying to move the QMenu object.
      It produces a wrong result on the first opening of the QMenu on the secondary monitor (see Incorrect.png). Every other opening on any screen will be displayed correctly (see Correct.png)

       

      Steps:

          - run the program

          - without opening the QMenu in the QToolBar of the QMainWindow, move the window to the secondary monitor of your computer.

          - try to open the QMenu

       

      qtdiag tool results:

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            mickaelf Mickaël Fleurus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes