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

No longer able to turn off sloppy submenus.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.5.0
    • None
    • Mac OS X Yosemite (Version 10.10.5)
    • macOS

      As far as I can tell, the QStyle::StyleHint QStyle::SH_Menu_SloppySubMenus is no longer used anywhere. As a result, I am no longer able to disable sloppy submenus within my application.

      I think this was introduced with https://codereview.qt-project.org/#/c/86364/ which was the fix for https://bugreports.qt.io/browse/QTBUG-20094

      I am able to slightly workaround the issue by modifying the other sloppy submenu StyleHints:
      QStyle::SH_Menu_SubMenuUniDirection
      QStyle::SH_Menu_SubMenuUniDirectionFailCount
      QStyle::SH_Menu_SubMenuSloppySelectOtherActions
      QStyle::SH_Menu_SubMenuSloppyCloseTimeout
      QStyle::SH_Menu_SubMenuResetWhenReenteringParent
      QStyle::SH_Menu_SubMenuDontStartSloppyOnLeave

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

            tpochep Timur Pocheptsov
            bmdzero Brendan Davis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes