I finally figured it out. qooxdoo's popup manager listens for native 
mousedown events on the document and closes any popups. So you just need 
to prevent the event you're listening to from bubbling up the DOM:

ace.on("guttermousedown", function(e) {
   if (e.getButton() == 2) {
     qx.bom.Event.stopPropagation(e);
     menu.openAtPoint({
       top: e.clientY,
       left: e.clientX
     });
   }
});


Regards,
Daniel

On 10.04.2013 17:07, 689137 wrote:
> Daniel,
>
> Thank you for your assistance.
> However, it doesn't work this way neither.
> I tried even opening the menu on a specific coordinate, no success.
>
> menu.openAtPoint({left:120, top:200});
> alert(e.clientX+" "+e.clientY);
>
> If I run the following code, the message does show me the X and Y, but no
> menu is pop-upped.
> Is there a specific mechanism the ace gutter could be blocking popups?
> I see no other reason why this is not working...
>
> Thank you.
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/The-menu-instance-needs-a-configured-opener-widget-tp7583199p7583207.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to