Community
Participate
Working Groups
Created attachment 156093 [details] Java fragment describing the problem The attached snippet shows 2 composites (A+B) which overlay each other. A has a text field and a label. B is just an empty composite for event receiving. If you click on the composites, the drawing order is reversed (so one time A is above B and the other time B above A). Both composites do not use a background. While the snippet works as expected on Firefox (3.5) (namely, you cannot edit the text field while B is above A), is does not on IE (8), where you can always edit the text field.
It seems that if the upper composite is transparent ( no background color or background image set ) this composite does not handle mouse events in IE. There is a MS article related to a similar issue in IE 5 - http://support.microsoft.com/kb/262559. As a workaround, without testing myself, set a transparent image as background image on the composite B.
I've just tested the suggested workaround and it works fine. Need to think about proper generic solution of the problem.
Created attachment 156905 [details] Proposed patch Set the background-image property to "blank.gif" in Composite.default.css.
Applied patch to CVS HEAD.
With the fix for bug 306695 there are some side effects.
Created attachment 163393 [details] fix fix This time includes tests.
Applied patch to CVS HEAD