Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. SH_Menu_SloppySubMenus no longer used. Can't disable!
Qt 6.11 is out! See what's new in the release blog

SH_Menu_SloppySubMenus no longer used. Can't disable!

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 956 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • oPryzeLPO Offline
    oPryzeLPO Offline
    oPryzeLP
    wrote on last edited by oPryzeLP
    #1

    (Referring to context menus) Using Qt 5.5.1 (Need to use MSVC2010)

    As noted by this bug https://bugreports.qt.io/browse/QTBUG-48904, the SH_Menu_SloppySubMenus style hint is no longer used, so I can't disable it!

    This is a big problem for my software because I have widgets IN the submenu. So I want the submenu to remain open to let the user interact with the widgets until an action is clicked or they click off the menu. However, Qt 5.5 introduced a change so now the submenu closes automatically after 400ms when you mouse off the submenu (annoying) but even WORSE is that it doesn't count the widgets ON the submenu as part of the submenu, prompting a close automatically anyway.

    What can I do?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You'll likely have to re-build Qt yourself patching the part that was modified and now ignores SH_Menu_SloppySubMenus.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      oPryzeLPO 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        You'll likely have to re-build Qt yourself patching the part that was modified and now ignores SH_Menu_SloppySubMenus.

        oPryzeLPO Offline
        oPryzeLPO Offline
        oPryzeLP
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved