SH_Menu_SloppySubMenus no longer used. Can't disable!



  • (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?


  • Lifetime Qt Champion

    Hi,

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



  • This post is deleted!

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.