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

Mouse cursor cannot move to monitors above the game in fullscreen #270

Closed
MarvNC opened this issue Jan 9, 2022 · 7 comments
Closed

Mouse cursor cannot move to monitors above the game in fullscreen #270

MarvNC opened this issue Jan 9, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@MarvNC
Copy link

MarvNC commented Jan 9, 2022

Magpie version 程序版本

0.8.0

Windows version 系统版本

Windows 10 Enterprise 19043.1415

Related screenshot (optional) 相关截图(可选)

ApplicationFrameHost_Settings_2022-01-08_19-50-25

Reproduction steps 复现步骤

  • Have two monitors installed vertically
  • Run a game using Magpie on the bottom monitor (monitor 1)
  • Attempt to move the mouse cursor from the main monitor (monitor 1) to the top monitor (monitor 4)

Log files 日志文件

Magpie.log

@MarvNC MarvNC added the bug Something isn't working label Jan 9, 2022
@Blinue
Copy link
Owner

Blinue commented Jan 9, 2022

Works well in my case.

image

Can the cursor be moved to 2 and 3?

@MarvNC
Copy link
Author

MarvNC commented Jan 9, 2022

Yes, it can be moved to 2 and 3. I did not think of this earlier, but monitor 4 is not connected to the graphics card like monitors 1-3 are and is instead connected via a USB C cable, perhaps this is part of the issue?

@Blinue
Copy link
Owner

Blinue commented Jan 9, 2022

I'm using MonitorFromPoint to find the monitors that the cursor can be moved to, maybe this API can't detect monitor 4. In order to find out the problem, please do some tests.

  1. Can monitor 4 be seen in Settings > System > Display?
  2. Which monitors will be used when this option is selected?
    image
  3. Which monitors will be used when this options is selected and the game window spans monitor 1 and 4?
    image

@MarvNC
Copy link
Author

MarvNC commented Jan 9, 2022

  1. Yes, that is where I took the screenshot.
  2. This option makes the game run across all 4 monitors.
  3. This option makes the game run across monitors 1 and 4.

In addition, Magpie appears to have the same issue when the game is running on monitor 4: the mouse cursor is unable to travel downwards to monitor 1 (but it can travel rightwards to monitor 2).

@Blinue
Copy link
Owner

Blinue commented Jan 9, 2022

Perhaps your multi-monitor configuration looks like this

image

Displays 1 and 4 are not adjacent to each other, so the cursor cannot move between them.

@MarvNC
Copy link
Author

MarvNC commented Jan 9, 2022

Thanks, that was the issue.

As a suggestion, it would prevent such issues if there was functionality of moving the cursor even with gaps, although it is not particularly important as I suspect this is not a common issue.

@Blinue
Copy link
Owner

Blinue commented Jan 9, 2022

I'll fix it soon, thanks for the report!

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
Archived in project
Development

No branches or pull requests

2 participants