0.8 - ToolTips over Menu items don't render correctly

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

0.8 - ToolTips over Menu items don't render correctly

WillP-2

If a ToolTip is applied to a Menu item the ToolTip is rendered below the menu
and thus (at least partially) obscured.

I notice in qx/ui/popup/Manager.js (which sets ToolTip Z-Order) the base
ZIndex value is 1e6 which is the same as the base ZIndex value in
qx/ui/menu/Manager.js used for Menus which could naturally cause a problem
when both types of widget are rendered to overlap.

The equivalent files in the legacy namespace (qx/legacy/ui/popup/Popup.js
and qx/legacy/ui/popup/ToolTip.js) use 1e6 as a base ZIndex for menus and
1e7 for ToolTips which would suggest to me that tooltips are correctly
rendered above menus in versions prior to 0.8. Was this overlooked when the
0.8 implementation was created?

There appears to be a different class hierarchy going on in version 0.8
regarding ToolTips, Popups and Menus which may make the solution less than
obvious (i.e. make popup/Manager use 1e7 as a ZIndex base). Can anyone
comment on this please?

Thanks,

Will.

--
View this message in context: http://www.nabble.com/0.8---ToolTips-over-Menu-items-don%27t-render-correctly-tp21668889p21668889.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: 0.8 - ToolTips over Menu items don't render correctly

thron7
Will,

I'm afraid I cannot comment much on this issue, but from the analysis
you already made it seems that it merits a bug report. Here it is:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1871
You might want to set yourself as cc: on the bug, so you get notified
about changes.

Cheers,
Thomas

WillP wrote:

> If a ToolTip is applied to a Menu item the ToolTip is rendered below the menu
> and thus (at least partially) obscured.
>
> I notice in qx/ui/popup/Manager.js (which sets ToolTip Z-Order) the base
> ZIndex value is 1e6 which is the same as the base ZIndex value in
> qx/ui/menu/Manager.js used for Menus which could naturally cause a problem
> when both types of widget are rendered to overlap.
>
> The equivalent files in the legacy namespace (qx/legacy/ui/popup/Popup.js
> and qx/legacy/ui/popup/ToolTip.js) use 1e6 as a base ZIndex for menus and
> 1e7 for ToolTips which would suggest to me that tooltips are correctly
> rendered above menus in versions prior to 0.8. Was this overlooked when the
> 0.8 implementation was created?
>
> There appears to be a different class hierarchy going on in version 0.8
> regarding ToolTips, Popups and Menus which may make the solution less than
> obvious (i.e. make popup/Manager use 1e7 as a ZIndex base). Can anyone
> comment on this please?
>
> Thanks,
>
> Will.
>
>  

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel