Morph21 / MercuryTrade-Community-Fork

An overlay application for Path of Exile(Tracking, Trading, Chat, etc)
MIT License
139 stars 24 forks source link

[BUG] - Overlay position not updating with multiple monitors #139

Open mtxfellen opened 2 years ago

mtxfellen commented 2 years ago

Describe the bug After changing the multi-monitor configuration, Mercury Trade does not accurately update its position if it was originally positioned 'off-screen'.

To Reproduce 1) Position overlay on a secondary monitor on which PoE is not open. 2) Change the multi-monitor configuration such that the overlay would be positioned on an inactive monitor (i.e Win+P Extend -> PC Screen Only). 3) Revert the multi-monitor configuration such that the overlay would now occupy a valid space once again.

Expected behavior After performing step 2, the overlay correctly moves to a different monitor as the one it was occupying is no longer available, but it does not return to its original position without reloading the program after performing step 3, instead remaining on the monitor it moved to in step 2.

Version Bug is present on any renderer setting on the Windows 10 version of the game, presumably on other platforms too.

Diabolos commented 1 year ago

This happens to me too, seems to occur when i turn off monitors but MT is still running

Treast commented 1 year ago

Same problem here. I just change my screen to a 21:9 one, and MT keeps showing notifs & task bar on my old screen. I have to "Restore default location" every time I shutdown my monitor.