Blinue / Magpie

An all-purpose window upscaler for Windows 10/11.
GNU General Public License v3.0
9.69k stars 496 forks source link

1 x 1 Scaling doesn't work for resolution that's the same width size as screen with Desktop Duplication #985

Open kanjieater opened 3 months ago

kanjieater commented 3 months ago

Magpie version 程序版本

v0.11.1

Windows version 系统版本

Win 11

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

No response

Reproduction steps 复现步骤

  1. Use a 1x1 Scaling (same steps as here https://github.com/Blinue/Magpie/issues/984#issue-2487077751)
  2. If the screen resolution is 640x480, the Neko Project 21/W window should be able to fill which is 640 x 400 (not including the the title bar (this used to work on older versions of magpie - though I can't find which version)
  3. v0.10.2 would say desktop to large (even though it should fit in side; current 0.11.1 just does nothing

Ideally it would make a borderless full screen

Log files 日志文件

Same as here: https://github.com/Blinue/Magpie/issues/984#issue-2487077751

Blinue commented 3 months ago

Desktop Duplication doesn't support capturing windows larger than the screen. The actual width of the window you're scaling exceeds 640 because Windows adds invisible borders on both sides.