Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Monitor Setup not compatible/unsupported #38

Closed
furyzenblade opened this issue Aug 26, 2022 · 1 comment
Closed

Multiple Monitor Setup not compatible/unsupported #38

furyzenblade opened this issue Aug 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@furyzenblade
Copy link

furyzenblade commented Aug 26, 2022

commit from: #22

bug comment: 7fa0eae#r82285540

Using "SystemParameters.VirtualScreenHeight" and "SystemParameters.VirtualScreenWidth" will not work when using multiple monitors. As the monitors don't form a simple rectangle.
Screens can have different resolutions and positions.
Same for the "(this.Left + this.Width) > 0" check, it does not consider a multi monitor setup, when moving it "off screen" it might just be on another/second monitor on the left so "this.Left" will be negative and the check will return false, resetting the position even though the window was visible, just on another monitor.

Window position resets when moving the Volumey window to another monitor and then reopening it.
Recording

Example case:
VS
VS_FullScreenshot
Display_Settings
(in my particular case I'm using two 2560x1440 monitors but monitor 2 is still the primary monitor, I just moved the taskbar)

@G-Stas G-Stas added the bug Something isn't working label Aug 30, 2022
@G-Stas
Copy link
Owner

G-Stas commented Oct 4, 2022

Implemented selector of the screen to use for displaying and removed remembering last window position: a0ec1fa

@G-Stas G-Stas closed this as completed Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants