dockpanelsuite icon indicating copy to clipboard operation
dockpanelsuite copied to clipboard

The docking indicators are in the wrong place when 2 monitors have different DPIs

Open marcosimone opened this issue 7 years ago • 2 comments

Circumstances: -Dual monitors with different DPI scaling -Application is on the secondary monitor (which in this case has 150% scaling) -Dragging a dockable window

Incorrect Behavior: -Indicators are in the wrong positions (appears to be using primary monitors dpi for position calculation)

Correct Behavior: -Hitboxs are in the correct positions relative to the window (which is not the same place as the indicators)

Description: When I have my primary monitor on 100% scaling and the other on 150%, if I put my application on the 150% monitor and try to drag a docked window, the indicators are in the wrong place. However, the "hitbox" for the indicators are in the correct position (which is not the same position as the indicators). It appears to base the indicator draw position on the DPI of the primary monitor, because doing the same thing with the application on the primary monitor works as expected

bug report

Runtime Version: v4.0.30319 DLL Version: 2.15.0.0


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

marcosimone avatar Sep 14 '17 18:09 marcosimone

Currently I don't have the hardware to reproduce the issue (I only have a Windows VM). So it would require some community resources to work on it.

I will dig the code and post back here with some hint, so that you can understand how the indicators work. Then you might find out what the culprit is.

lextm avatar Sep 15 '17 18:09 lextm

Sorry to bring up an old issue, but was this ever addressed?

nsdrussell avatar Feb 13 '19 10:02 nsdrussell