Results 1 to 4 of 4

Thread: Complex menus are more difficult to operate in Qt4 than they were in Qt3.

  1. #1
    Join Date
    Jun 2008
    Location
    Boulder, Colorado, USA
    Posts
    70
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Question Complex menus are more difficult to operate in Qt4 than they were in Qt3.

    In Qt3, clicking on a submenu handle had caused the submenu to REMAIN VISIBLE until clicking again -- either inside that submenu or somewhere else (or -- on Windows -- until hovering over a top-level menu, but that was relatively easy to avoid).

    In Qt4 on Windows, clicking on a submenu handle does bring up the submenu, but the submenu disappears when the mouse is MOVED outside of both the current menu and the submenu. This is quite the "video game experience" with multi-tiered menus. This is a Qt4 problem on Windows, but not on Solaris. [Qt 4.4.3].

    Qt4 on Solaris has optimal behavior. (and hovering over a top-level menu after "clicking open" an unrelated submenu doesn't hide that submenu. That's really good).

    Can anyone confirm these observations?

    And is there anything we can do programmatically in Qt4 on Windows to restore the "sticky" behavior?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Complex menus are more difficult to operate in Qt4 than they were in Qt3.

    How do menus in other (non-Qt) applications behave? Do they have the "sticky behaviour"?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jun 2008
    Location
    Boulder, Colorado, USA
    Posts
    70
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Complex menus are more difficult to operate in Qt4 than they were in Qt3.

    Quote Originally Posted by wysota View Post
    How do menus in other (non-Qt) applications behave? Do they have the "sticky behavior"?
    Taking a quick look, I haven't found any other Windows applications which have the "sticky behavior" which we liked very much in Qt3 on Windows. There are subtle differences in the behaviors I'm seeing. If you're making the point that the new Qt4 Windows behavior is more consistent with Windows applications in general, you are right. Regardless, we'd be interested to hear if the old Qt3 Windows behavior can be made available.

    (Or, are you suggesting that there is a general Windows setting which changes this behavior? Our users are generally on Windows XP and Vista).

    Thank you.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Complex menus are more difficult to operate in Qt4 than they were in Qt3.

    Qt tries to integrate with the platform and follow platform guidelines so I was suggesting this is an expected change. Try running your application with a different widget style (like "Plastique") and see if it changes anything. If it does then you can modify the behaviour of your application by subclassing the style and returning some different data in a proper place. If not then without digging deeper it will probably not be possible.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following user says thank you to wysota for this useful post:

    philw (25th April 2009)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.