Re: [qooxdoo-devel] Problem on context menu display

2015-03-16 Thread voger
Thanks. The 'pointerover' event is a good idea. Unfortunately I need a context menu that activates on right click. When I switched your example from getMenu() to getContextMenu() I get the same behavior. http://tinyurl.com/llnsued I thought that this code as I have in the previous playground sho

Re: [qooxdoo-devel] Problem on context menu display

2015-03-16 Thread Tobias Oberrauch
Hi, you can define the menu on pointerover. Furthermore you have to use MenuButton. I tried to build an example: http://tinyurl.com/lc2yzez __tl;tr;__ var button = new qx.ui.form.MenuButton("Button"); button.addListener("pointerover", function () { this.setMenu(getMenu()); }); doc.add(button);

Re: [qooxdoo-devel] Problem on context menu display

2015-03-15 Thread voger
I made few more experiments nr. 1 http://tinyurl.com/k5rdl8o With this the menu appears always but only the first time it displays under the widget. In subsequent appearances it displays in the cursor. What I am doing wrong here? nr. 2 http://tinyurl.com/ljh92ms This is more consistent. My goal