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

Cursor jumps to other monitor when hovering an overlayed window #969

Open
Sirush opened this issue Jul 17, 2024 · 9 comments
Open

Cursor jumps to other monitor when hovering an overlayed window #969

Sirush opened this issue Jul 17, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@Sirush
Copy link

Sirush commented Jul 17, 2024

Magpie version 程序版本

0.11.1

Windows version 系统版本

win10 22H2

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

Bm9yhzrt9f-1.mp4

Reproduction steps 复现步骤

Have the game in fullscreen using magpie, and use an overlay window, for example JL or windows built-in On-Screen Keyboard.
Then mouse over the overlay, sometimes the cursor will be seen for a single frame on the other monitor, or sometimes it will jump there completely and you will have to move it back to your main monitor manually.
I've attached a video showing the effect (ignore the double cursor, it's just my recording software) of the mouse completely jumping to the other monitor when simply hovering JL. I've reproduced this with Magpie 0.11.0 and 0.11.1, but it worked correctly in 0.10.6 and other previous versions.

Log files 日志文件

magpie.log

@Sirush Sirush added the bug Something isn't working label Jul 17, 2024
@Blinue
Copy link
Owner

Blinue commented Jul 18, 2024

This is likely because the overlay window has a higher integrity level than Magpie, and due to UIPI, the OS prevents Magpie from changing the cursor position. I’ll look into this when I have some free time.

@HighSoldierr
Copy link

HighSoldierr commented Nov 9, 2024

Did you look into this? I have an similar issue when im running an aplication in full screen with magpie and i move my cursor from 1 monitor to an other monitor.

Update:
I downloaded the v0.10.1 version where this issue doesnt seem to excist for me. Just that the cursor alignment is off when moving from 1 monitor to an other monitor

@Blinue
Copy link
Owner

Blinue commented Nov 9, 2024

This issue should be resolved in v0.11. Try running Magpie as an administrator.

@HighSoldierr
Copy link

Im running v0.11.1 and even running as an admin, this issue still happens

@HighSoldierr
Copy link

HighSoldierr commented Nov 9, 2024

Here a video example of the issue. Running magpie in admin

Untitled.video.1.mp4

@Blinue
Copy link
Owner

Blinue commented Nov 10, 2024

Are you referring to the cursor automatically skipping over black borders? This is intended behavior: if there’s no screen beyond the black border, the cursor will stop at it; otherwise, it will skip over.

@HighSoldierr
Copy link

HighSoldierr commented Nov 10, 2024

This is not what iam refering to. Im quikly moving my cursor between my 2 monitors to trigger it. Please watch at 0:05 where it first happens. The cursor jumps quikly all the way left - in my left monitor. This happens 3 times total in this video.

Ill send a new video later without the black borders. Maybe it will make it more clear

@HighSoldierr
Copy link

HighSoldierr commented Nov 10, 2024

Hopefully this video makes it more clear.
Magpie is still in fullscreen through the magpie toggle itself, in admin mode.

Update:
I think this might be an issue related to windows 11. My friend has the same issue once he updated to windows 11. He did not have this issue when he was running windows 10. Iam running windows 11 aswell

Untitled.video.4.mp4

@Blinue
Copy link
Owner

Blinue commented Nov 11, 2024

Thank you for the video; it clearly demonstrates the issue. I’m using Win11 23H2 and haven’t encountered this error, but I’ll investigate further.

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

3 participants