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

Magpie can't always detect the game window is in foreground #538

Open
rampaa opened this issue Apr 4, 2023 · 5 comments
Open

Magpie can't always detect the game window is in foreground #538

rampaa opened this issue Apr 4, 2023 · 5 comments
Labels
bug Something isn't working priority: normal

Comments

@rampaa
Copy link

rampaa commented Apr 4, 2023

Magpie version 程序版本

0.10.1

Windows version 系统版本

Windows 10 22H2

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

Baxmv2vhp6.mp4

Reproduction steps 复现步骤

  1. Add a Magpie profile for a game
  2. Enable "Auto scale when in foreground"
  3. Scale the game with Magpie
  4. Use Windows+D (or Alt+Tab and bring another window to the foreground) to disable the scaling of the game window
  5. Bring the game window back to the foreground by clicking its icon on the taskbar (or by using Alt+Tab again)

The game window will not be scaled by Magpie (seemingly randomly). You might need to re-try the 4th and 5th steps many times before reproducing the issue because it happens quite randomly. It randomly happened with nearly every game I've tried Magpie with. "Capture method" doesn't seem to matter either, I can reproduce the issue with all the capture methods. I also don't think Magpie is producing any logs when it fails to detect that the game is in the foreground.

Log files 日志文件

magpie.log

@rampaa rampaa added the bug Something isn't working label Apr 4, 2023
@Blinue
Copy link
Owner

Blinue commented Apr 6, 2023

Does v0.10.0 have this issue?

@rampaa
Copy link
Author

rampaa commented Apr 6, 2023

Yes.

@Blinue
Copy link
Owner

Blinue commented Apr 6, 2023

Is there still an issue if you don't minimize the window (i.e., only use Alt+Tab)?

@rampaa
Copy link
Author

rampaa commented Apr 6, 2023

I think I was able to reproduce the issue with Alt+Tab as well. To make sure I can try it out again when I am home.

@rampaa
Copy link
Author

rampaa commented Apr 6, 2023

Reproducing it with Alt+Tab was significantly harder.

Explorer.R4mhupaocu.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: normal
Projects
Status: Todo
Development

No branches or pull requests

2 participants