| Summary: | [Text] Loses focus on click in IE8 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Stefan Milchram <stefan.milchram> | ||||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | ivan, tbuschto | ||||||||
| Version: | 2.2 | ||||||||||
| Target Milestone: | 2.3 M2 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Stefan Milchram
Created attachment 239791 [details]
pic showing where you have to click
Created attachment 239792 [details]
Snippet-plugin
I can reproduce the issue with the attached snippet. It is related to VML rendering of the glow effect. In the main Text widget div we have 3 inner divs: 2 with VML shapes and one with the actual input field. The second div with VML shape is the problematic one. Hiding it manually solves the problem. Maybe this second div is added by mistake. Tim, why the div with VML shape is duplicated? Is this by purpose? The first div with VML looks like: <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shape style="POSITION: absolute; WIDTH: 100px; HEIGHT: 100px; TOP: 0px; LEFT: 0px; antialias: true" coordsize = "1000,1000" filled = "t" fillcolor = "white" stroked = "t" strokecolor = "#aaa" strokeweight = ".75pt" path = " m0,0 l11750,0,11750,300,0,300 xe"><v:fill type = "solid" method = "sigma"></v:fill></v:shape> The second div with VML looks like: (problematic one) <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shape style="POSITION: absolute; WIDTH: 100px; HEIGHT: 100px; TOP: 0px; LEFT: 0px; antialias: true" coordsize = "1000,1000" filled = "f" stroked = "f"><v:fill type = "solid" method = "sigma"></v:fill></v:shape> I can not reproduce it in an emulated IE8. The two different shapes are likely for inset and outset shadow each. A good idea could be to set the background of the input element to an transparent gif. We do that in some other places to prevent clicking "through" the element. If it helps it could also be done with a global CSS rule. Created attachment 239831 [details]
Patch for 2.2-maintenance branch
Fixed in master with change https://git.eclipse.org/r/21815 Tested, works. Thank you very much for the quick fix. |