Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, July 2007
Annoying handling of long QPopupMenus from QMenuBar


Message 1 in thread

In Qt-3.3.4 if a menu is very long it will be wrapped so the QPopupMenu 
will fit on the screen, but if the dialog is activated from a QMenuBar 
the menu will open under the mouse pointer, which means that users using 
a single click to see the menu will inadvertently activate an item in 
the menu. I've seen that in Windows the menu is often moved a bit to the 
right in this instance to avoid this problem. Alternatively the menu 
could be made a little smaller, so more items would wrap to the next 
column, so the menu could popup south of the mouse pointer.

Is there a fix for this? We plan to move our applications to 4.x soon, 
so I'd be happy if it works better in a newer version of Qt.

Regards,

Thomas

--
 [ signature omitted ]