dotnet / dotnet/wpf

[PMA] Dragging a window outside the title bar causes the mouse position to shift when changing DPIs

Open
#967 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

Copied from VSO ID: 780675

Min Repro Proj:
[WpfWeirdDrag.zip](https://github.com/dotnet/wpf/files/3291838/WpfWeirdDrag.zip)

This bug is found during PMA testing. To setup PMA review the VSO ID

Repro:

Open Update Dialog in main window.
Left click on the spinning circle, and drag to a secondary window.

Expected: After dragging the UI to the secondary Window, the mouse pointer is in the same location.

Actual: After dragging the UI to the secondary Window, the mouse pointer is repositioned to a different location.

Note: The dialog's title bar doesn't have this issue. Other VS UI appears to have similar issue.
![image](https://user-images.githubusercontent.com/49078227/59531635-4cbc6180-8e9b-11e9-8a10-9a4e1662a58a.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.