Hi,

1. I fully agree that the ToolTip should be _independent_ of the enabled state
   of the button.
1.1. It should be possible to disable/enable the tooltip in any state.

2. A quick "proposal" for a button-class with enableTooltip() and
   disableTooltip() methods is here: http://tinyurl.com/2gxc5uk

3. Note: This does not yet work 100% 'cause the tooltip is not shown at
   disabled buttons (base class of "playground.Button")

Just to give some brain food for the weekend ;)

/Peter


On 2010-11-05 15:55 Martin Wittemann wrote:
> Hey,
> 
>> I am setting the toolTipText property for buttons in a Toolbar.  When the
>> buttons are disabled, their tooltips are not displayed.
> This is the designed behavior. But i just checked how OSX that handles. It 
> shows also tooltips on disabled toolbar items. So it would be interesting 
> what others think about that. Should tooltips be shown on disabled elements?
> 
>> Looking at the qx.ui.tooltip.Manager source, I see they are disabled on
>> purpose in the __onMouseOverRoot() function.
> Yes. :)
> 
> 
>> Unfortunately qx.ui.tooltip.Manager is a singleton and I cannot figure out
>> how to override this functionality.
> I didn't see a way either. 
> 
>> Most applications will display tooltips for disabled items - is this a bug?
> I'm not sure if thats a but because its working the way it was designed. On 
> the other hand, not being able to change that behavior is sure a bug. So why 
> not open a enhancement bug report to make that configurable on the singleton 
> itself. 
> 
> Regards,
> Martin

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to