| Summary: | Texts cut off when Internet Explorer is started zoomed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Sabine Neubauer <neubauer> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | cgan, tbuschto | ||||
| Version: | 1.4 | ||||||
| Target Milestone: | 1.5 M6 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 270397 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Sabine Neubauer
Created attachment 200155 [details] Screenshot illustrating the problem The used RAP version in the screenshot is 1.4. But the problem also exists if I access the RAP examples demo on http://rap.eclipsesource.com/rapdemo/examples#input which is running on RAP 1.5 Is this 64bit version of IE9 only? I cant reproduce it with 32bit version, in which case this issue should be convered in bug 340002. I use IE 8 64bit and I know a person using IE 8 32bit having the same problem. It is very important to set the zoom factor in Internet Explorer before the first access. Otherwise, the problem does not exist. (In reply to comment #2) I can reproduce it (the screenshot from comment #1) with 32bit version of IE9. For IE9 this will probably go away with Bug 270397, but i dont see any solution for older IE since they dont have a propper getBoundingClientRect implementation. (It would probably have to involve some kind of "guessing" the textsize.) *** Bug 373616 has been marked as a duplicate of this bug. *** It seems this issue exists on all 64bit IEs. As a solution we will add 1px in width to all textsize measuring results if its a 64bit IE. It seems its also reproduceable in the combo: RAP 1.5M5, IE9-32bit on 64bit windows. I can reproduce it by setting zoom to 105% and starting controls demo with default theme. The checkbox text "Ceck with Image" is cut off to say just "Check with". That it affects all versions of IE makes the decision how to solve this a bit harder. Adding 1px in IE for all cases is not ideal. Its possible to detect zoom in IE: https://github.com/yonran/detect-zoom/blob/master/detect-zoom.js Fixed in CVS HEAD. One pixel in width is added for all measurements if IE is started zoomed. Note that changing zoom on runtime is still not supported. |