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

Region Switcher coordinate system clashes with Windows Display Settings Re-scale 125% #1312

Open
pztrick opened this issue Feb 28, 2025 · 0 comments

Comments

@pztrick
Copy link

pztrick commented Feb 28, 2025

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.2.3

Advanced Scene Switcher Version

1.28.1

Plugin settings

No response

OBS Studio Log URL

No response

OBS Studio Crash Log URL

No response

Expected Behavior

I have three 1920x1080 pixel monitors.

If you re-scale the Windows Display UI from 100% to 125%, it should ideally retain the nominal coordinate system of 1920x1080.

Right now, it re-scales to 1/1.25 or 1536 pixels wide. But it still anchors the next monitor coordinates at (1920, 0) in the top left corner, so as you move your cursor across the monitor boundary the coordinates jump directly from x=1536 to x=1920 and ~400 pixel coords get jumped.

Current Behavior

I have three 1920x1080 displays.

In Windows, if you re-scale the System Windows UI to be 125% larger, the coordinate plane in Region Switcher will become 1/1.25 smaller or 1536 pixels in width.

Image

Region Switcher will consider Display 1 to go from (0, 0) top-left corner to (1536, 0) in the top-right corner. The guide lines report the pixel coordinates from [0...1536].

However, it still anchors the 2nd display at (1920, 0). And the cursor coordinates will jump from x=1536 to x=1920 as it crosses the monitor boundary.

So the coordinate system is skipping ~400 pixels whenever you move your cursor across a monitor boundary if you re-scale the Windows Display Settings UI to a setting of 125%.

Steps to Reproduce

Change your Windows UI scale to 125% in System Display Settings.

Image

Anything else we should know?

You can easily work-around this if you know what's going on, but it was very confusing at first. I'm otherwise enjoying the plugin, thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant