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

Checkable menu items don't work properly in Window-type Menu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.8.3
    • Quick: Controls 2
    • None
    • macOS

      When a QML menu has `popupType: Popup.Window`, checkable menu items don't work.

      If you put `onCheckedChanged` on the menu item, it seems like when the user chooses the item, the check gets toggled twice, so it seems like it never gets checked at all.

      See the attached files for a simple test case.

      We really need to use window-type menus (not item or native type), so this is a big problem for us. If there's any kind of workaround I'd be very happy to hear about it.

        1. test.py
          0.2 kB
          Matt Chaput
        2. test.qml
          0.4 kB
          Matt Chaput
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hurlevent Oliver Eftevaag
            mattsidefx Matt Chaput
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes