Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 408701

Summary: IllegalArgumentException: "Not a valid integer number" when browser zoom < 100%(IE10)
Product: [RT] RAP Reporter: zone whua <zh>
Component: RWTAssignee: 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:
Description Flags
console output
none
Fix with test ivan: review+

Description zone whua CLA 2013-05-22 10:08:25 EDT
Created attachment 231306 [details]
console output
Comment 1 Tim Buschtoens CLA 2013-05-22 10:14:54 EDT
Reproducable in Controls demo on Composite tab (Attach MouseListener), but also at least on DnD tab.
Comment 2 Tim Buschtoens CLA 2013-05-22 11:01:10 EDT
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 3 Ivan Furnadjiev CLA 2013-05-22 11:33:43 EDT
Comment on attachment 231311 [details]
Fix with test

Looks good to me +1
Comment 4 Tim Buschtoens CLA 2013-05-23 04:06:09 EDT
Applied patch with commit 98165aa57fdc8c29e1dc4c0dc4cc75093352f42c
Comment 5 Ivan Furnadjiev CLA 2013-06-14 10:33:42 EDT
Backported the fix to 2.0-maintenance branch with commit fd42ed95316151ac6c180341a1c6df7204224051.