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

Desktop Duplication - Window is too large to capture!? #746

Closed
Baten84 opened this issue Nov 2, 2023 · 5 comments
Closed

Desktop Duplication - Window is too large to capture!? #746

Baten84 opened this issue Nov 2, 2023 · 5 comments
Labels
question Further information is requested

Comments

@Baten84
Copy link

Baten84 commented Nov 2, 2023

Magpie version 程序版本

0.9.1

Windows version 系统版本

Windows 11

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

image

Reproduction steps 复现步骤

I tried the Desktop Duplication mode, however no matter which game I try, it always throws the "Window is too large to capture" error. The game window is 1280x720, the desktop resolution is 1366x768.

Log files 日志文件

Magpie.log

@Baten84 Baten84 added the bug Something isn't working label Nov 2, 2023
@kato-megumi
Copy link
Contributor

kato-megumi commented Nov 3, 2023

Try to use the latest version.
https://github.com/Blinue/Magpie/releases/tag/v0.10.3

GitHub
中文版

添加 Anime4K_Restore_Soft_UL、Anime4K_Restore_Soft_VL 和 Anime4K_Restore_UL #605 #602(感谢 @kato-megumi
支持葡萄牙语(巴西)#628(感谢 @Zoommod)和韩语/朝鲜语 #619 (感谢 @MuscularPuky)
优化了主窗口样式 #624 #599
添加一个选项允许缩放最大化或全...

@Baten84
Copy link
Author

Baten84 commented Nov 3, 2023

Is this a known issue and fixed in the latest release then?

My theory is that it's because I use a laptop. The laptop screen is 1080p. However I use a secondary screen, so it might be that magpie tries to scale the 1080p screen?

@Baten84
Copy link
Author

Baten84 commented Nov 3, 2023

So I tried the newest version and it doesn't do anything. Desktop duplication doesn't work.

@Blinue Blinue added question Further information is requested and removed bug Something isn't working labels Nov 4, 2023
@Blinue
Copy link
Owner

Blinue commented Nov 4, 2023

As shown in your screenshot, the window cannot be fully displayed on the screen, and a part of it is blocked by the taskbar. Your screen height is 768 pixels, and after subtracting the height of the taskbar, title bar, and menu bar, the remaining space is not enough to accommodate the client area of 720 pixels high.

Desktop Duplication is similar to taking a screenshot, and because the client area of this window cannot be fully displayed, the scaling fails. You can set the taskbar to auto-hide, and the scaling will succeed.

@hooke007
Copy link
Collaborator

hooke007 commented Nov 7, 2023

From your screenshot, it seems the program is scaled by system first( the length of width is over 1280).
You could also disable its scaling first.

@Blinue Blinue closed this as completed Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants