Completed
Last Updated: 19 Jun 2017 12:32 by ADMIN
Alexander
Created on: 17 May 2017 19:21
Category: Form
Type: Bug Report
1
FIX. RadForm - UI overflow exception with certain pointing devices LogiTech TouchPad T650
Telerik UI overflow exception with certain pointing devices, especially the LogiTech TouchPad T650. (an Int32 somewhere needs to be an Int64?)

StackTrace:

at Telerik.WinControls.UI.RadFormBehavior.OnWMNCHittest(Message& m)
at Telerik.WinControls.UI.RadFormBehavior.HandleWndProc(Message& m)
at Telerik.WinControls.UI.RadFormControlBase.WndProc(Message& m)
2 comments
ADMIN
Peter
Posted on: 23 May 2017 16:21
This should be fixed in version R2 2017.
From this version, we using .ToInt64
private Point ParseIntPtr(IntPtr param)
{
            if (IntPtr.Size == 4) //x86
            {
                return new Point(param.ToInt32());
            }
            else //x64
            {
                long intParam = param.ToInt64();
                short x = (short)intParam;
                short y = (short)(intParam >> 16);

                return new Point(x, y);
            }
 }
Alexander
Posted on: 17 May 2017 19:56
Apologies: I omitted that it ~appears~ to be only when horizontal scrolling and on Windows 7. We can't reproduce on Windows 10. It can certainly be reproduced with the LogiTech TouchPad T650 on Win 7 when horizontally scrolling. Moving the pointer horizontally by 1px is enough to throw the exception.