Toufool / AutoSplit

Easy to use image comparison based auto splitter for speedrunning on console or PC.
GNU General Public License v3.0
268 stars 30 forks source link

Incorrect Mapping of Screen Space on Multi-monitor Setups #258

Open Phobic-HR opened 1 year ago

Phobic-HR commented 1 year ago

Description: Select Region and Select Window do not map to the correct screen space when used on some multi-monitor setups. This typically happens with larger monitors and when the largest monitor isn't in the top left.

Reproduce Steps: -Open Window's Settings app and go to System -Under Display arrange the windows so that the coordinate 0,0 would not be within the bounds of any window (see below) -Start Autosplit and select any of the three screen capture methods -Use the Select Region tool to select an area of any monitor

Expected behaviour: The screen space selected matches the screen space displaced and compared against.

Screenshots:

Screenshot of monitor arrangement.

Work Around: Move the largest monitor to the top and left in Settings app>System>Display.

Extra Info: OS: Windows 10.0.19045 AutoSplit: v2.2.0

Avasam commented 1 year ago

Curious, I myself use multi-monitor setups (and a very unusual one that) and implemented the support when I started maintaining this project. We get the coords from Window's virtual desktop, hopefully this isn't a weird Windows edge-case. I'll try to replicate if I can.

Tyrn18 commented 1 year ago

I tried going down the versions and this problem does not occur in version 1.5.1, anything above that produces the problem.

Avasam commented 11 months ago

I don't have a solution yet. But I have replicated on my Windows 11 laptop. Order and position of displays matter. So I can start investigating.