Hello John,
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?
Sounds like a issue the framework should cover in deed. Would you be so kind
and open up an issue report for that?
Regards,
Martin
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel