| Summary: | IllegalArgumentException: "Not a valid integer number" when browser zoom < 100%(IE10) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | zone whua <zh> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P2 | CC: | tbuschto | ||||||
| Version: | 2.1 | ||||||||
| Target Milestone: | 2.1 RC2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 8 | ||||||||
| Whiteboard: | sr201 | ||||||||
| Attachments: |
|
||||||||
Reproducable in Controls demo on Composite tab (Attach MouseListener), but also at least on DnD tab. Created attachment 231311 [details]
Fix with test
This fixes the issue by rounding the value within the mouse event wrapper, which should prevent any similar issues. Test passes on all major browser including IE7.
Comment on attachment 231311 [details]
Fix with test
Looks good to me +1
Applied patch with commit 98165aa57fdc8c29e1dc4c0dc4cc75093352f42c Backported the fix to 2.0-maintenance branch with commit fd42ed95316151ac6c180341a1c6df7204224051. |
Created attachment 231306 [details] console output