Hi

I've recently switched an app from the Simple theme to Aristo and discovered
that right-click content menus always disappear as soon as they appear.
This is because in the Aristo theme, the menu appears directly underneath
the mouse and this triggers qx.ui.menu.Button._onMouseUp() which calls
qx.ui.menu.Manager.getInstance().hideAll().

In the simple theme the menu has a border width of 1, so the popup's button
appears one pixel offset from the mouse and does not trigger mouseup on the
button.

An easy work around is to add a width:1 to Aristo's Decoration.js "menu"
decorator, but isn't this a bug in the framework not Aristo?  IE is this it
a requirement that menus have at least one pixel border, or could "place to
mouse" position the menu to left+1 Šor better yet, only react to mouseup if
it's previously seen a mousedown?

John


------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to