Re: [qooxdoo-devel] Problematic popup

2013-08-26 Thread Richard Sternagel
Hi Ilkka, I mean that if I click somewhere outside of the button and popup, the popup gets hidden (because of autohide true) but the button stays checked. Okay, now I see. You can achieve your wanted behaviour with the aid of a blocker object, which blocks events: http://tinyurl.com/l3r48jm

Re: [qooxdoo-devel] Problematic popup

2013-08-26 Thread Ilkka Oksanen
On Mon, Aug 26, 2013 at 5:49 AM, Richard Sternagel richard.sterna...@1und1.de wrote: Hi Ilkka, I mean that if I click somewhere outside of the button and popup, the popup gets hidden (because of autohide true) but the button stays checked. Okay, now I see. You can achieve your wanted

Re: [qooxdoo-devel] Problematic popup

2013-08-25 Thread rsantiagopaz
- I have my own custom widget I want to show and hide. In my real code I have added this custom widget inside the popup. Could I still use MenuButton in this case? beautiful dilemma. Sorry my little interference (and sorry my english). I (prefer) think there are (basically) 3 groups of this

Re: [qooxdoo-devel] Problematic popup

2013-08-23 Thread Richard Sternagel
Hi Ilkka, what do you mean by: I could remove the 'disappear' event handler but then the button state would be out of sync. The value of the widget represents the checked state. So in the changeValue listener e.getData() gives you either checked (true) or unchecked (false) which is all you

Re: [qooxdoo-devel] Problematic popup

2013-08-23 Thread Ilkka Oksanen
On Fri, Aug 23, 2013 at 2:49 AM, Richard Sternagel richard.sterna...@1und1.de wrote: Hi Ilkka, what do you mean by: I could remove the 'disappear' event handler but then the button state would be out of sync. I mean that if I click somewhere outside of the button and popup, the popup

[qooxdoo-devel] Problematic popup

2013-08-22 Thread Ilkka Oksanen
Hi, Is there a standard solution for the problem visible in this example: http://tinyurl.com/m93sw9y You can click the button and see a popup. That works fine. Now if you try to hide the popup by clicking the button for second time, things go wrong. I think it's because 'disappear' event is