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

Scrollable QMenu doesn't draw correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.4.1, 5.5.0, 5.9.7, 5.12.3, 6.2.1, 6.4.2
    • None
    • Windows 7 x64, MSVC 2013 Ultimate + Update 5, Qt 5.5.0, Qt 5.4.1
      OSX 10.10, Qt 5.5.0, Qt 5.4.1, MSVS 2022 Qt 6.4.2
    • macOS, Windows

    Description

      Scrollable QMenu doesn't draw correctly. To reproduce this issue, please build and run attached example.

      Steps to reproduce:
      1) Build and run example
      2) Press top button to call menu
      3) You will see incorrect menu drawing (see top_menu_scrollable.png).

      Expected behavior here is to get scrollable menu with action "0" in button position.

      Scrollable QMenu doesn't work at all if you click on bottom button. It displays as normal menu without any scroll buttons. See bottom_menu_scrollable.png

      Expected behavior here is the same as above.

      This bug also presents on OS X 10.10 platform. Please see bottom_menu_osx.tiff and top_menu_ox.tiff.

      Attachments

        1. qmenu_6.4.2.patch
          3 kB
          Pavel Mogilevskiy
        2. qmenu_bug.zip
          3 kB
          Pavel Mogilevskiy
        3. bottom_menu_osx.tiff
          316 kB
          Pavel Mogilevskiy
        4. top_menu_osx.tiff
          298 kB
          Pavel Mogilevskiy
        5. bottom_menu_scrollable.png
          106 kB
          Pavel Mogilevskiy
        6. top_menu_scrollable.png
          104 kB
          Pavel Mogilevskiy
        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
            pmogilevskiy Pavel Mogilevskiy
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes