I would guess a qooxdoo bug so file it for the framework and I'll take the 
rest. ;)

Am 13.09.2011 um 14:51 schrieb John Spackman:

*bump*

So…is this is a bug in Qooxdoo or a bug in the docs or a bug in Aristo?

John

From: John Spackman <[email protected]<mailto:[email protected]>>
Reply-To: qooxdoo Development 
<[email protected]<mailto:[email protected]>>
Date: Fri, 09 Sep 2011 16:48:38 +0100
To: qooxdoo Development 
<[email protected]<mailto:[email protected]>>
Subject: [qooxdoo-devel] Popup content menu disappears immediately after it 
appears

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]<mailto:[email protected]> 
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
qooxdoo-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to