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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P4: Low
    • None
    • 5.14.2
    • GUI: Menus
    • None
    • Windows 10 Professional Version 18363.1139
      Qt 5.14.2 msvc-2017
    • 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

            mickaelf Mickaël Fleurus
            mickaelf Mickaël Fleurus
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes