I just spent about three hours trying to figure out why my buttons would not
fire when the tooltip was over them.  I assume that it is because the
tooltip is recieving the mouseclick.  I know there is a bug opened for this,
but my workaround works for me.  I simply wait for the tooltip to appear and
then move it out of the way as follows ( I move the tootlip up because I
know that my buttons are always at the bottom.  Your mileage may vary):

                    tooltip.addListenerOnce("appear", function(e) {
                        var b = e.getTarget().getBounds();
                        var t = b['top'];
                        var l = b['left'];
                        var w = b['width'];
                        var h = b['height'];
                        t = t - 15;
                        e.getTarget().setUserBounds(l, t, w, h);
                    }, this);

I hope this helps someone else from wasting a couple of good hours!

tom



thron7-2 wrote:
> 
> I have opened a bug for this: 
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=1857
> 
> Thomas
> 
> Kenneth Tilton wrote:
>> I am doing variously images with click handling and buttons with icons 
>> specified...anyway, users will not have a nice text label to guide them 
>> so I have to have tooltips. But buttons do not respond while a tooltip 
>> is showing.
>>
>> kt
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>>   
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Buttons-do-not-work-while-a-tooltip-is-showing-tp21558552p22444815.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to