Mouse cursor position is wrong sometimes

Docking/MDI for WPF Forum

Posted 3 months ago by Yuki
Version: 23.1.4
Platform: .NET 6.0
Environment: Windows 11 (64-bit)
Avatar

Hello,

Mouse cursor position is wrong sometimes when I grab title bar of tool window and move the window.

It is the same for document window.

I will send the video later.

Would you please check it?

Comments (2)

Posted 3 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thank you for the video.  From what we can tell, this problem only seems to happen when you start dragging the window from an area near the screen edge and Windows Aero Snap kicks in immediately.  At the point we hand off our drag logic to Win32 code to manage the drag operation, we have the correct Window location set.  But then if the mouse is over an Aero Snap activation area near screen edge, it tells the WPF Window to immediately go to the top/left of that area.  We tried multiple things today to try and work around that, but unfortunately have not found a way.  Oddly, the problem doesn't seem to show up if you drag elsewhere in the title bar that would not be over an Aero Snap activation area, and then move over an Aero Snap activation area.


Actipro Software Support

Posted 3 months ago by Yuki
Avatar

Hello,

  

Thank you very much for your checking immediately.
I understood current situation.
Please let me know if you have any update.

The latest build of this product (v24.1.2) was released 4 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.