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

ONNX 测试版本无故停止放大 #857

Open
Ptilopsis01 opened this issue Mar 23, 2024 · 2 comments
Open

ONNX 测试版本无故停止放大 #857

Ptilopsis01 opened this issue Mar 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Ptilopsis01
Copy link

Magpie version 程序版本

onnx测试版

Windows version 系统版本

win11 23h2

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

No response

Reproduction steps 复现步骤

在正常使用时,会发生magpie的放大窗口突然停止的情况
目前发现可能与windows壁纸自动切换有关,在壁纸切换时会导致放大停止(magpie的后台进程仍正常保留),但也有未进行任何操作时出现该情况的现象
日志中输出的内容为窗口位置或大小改变,但实际源窗口未进行任何操作

Log files 日志文件

logs.zip

@Ptilopsis01 Ptilopsis01 added the bug Something isn't working label Mar 23, 2024
@Blinue
Copy link
Owner

Blinue commented Mar 24, 2024

我试着把壁纸设置为幻灯片放映,但复现不了。

产生这条日志的逻辑:

RECT rect;
if (!GetWindowRect(_hwndSrc, &rect)) {
Logger::Get().Error("GetWindowRect 失败");
return 1;
}
if (_srcWndRect != rect) {
Logger::Get().Info("源窗口位置或大小改变");
return 2;
}

GetWindowRect 返回的结果变化了,这可能是因为窗口本身有改变,或者第三方软件的影响。

@Ptilopsis01
Copy link
Author

我试着把壁纸设置为幻灯片放映,但复现不了。

产生这条日志的逻辑:

RECT rect;
if (!GetWindowRect(_hwndSrc, &rect)) {
Logger::Get().Error("GetWindowRect 失败");
return 1;
}
if (_srcWndRect != rect) {
Logger::Get().Info("源窗口位置或大小改变");
return 2;
}

GetWindowRect 返回的结果变化了,这可能是因为窗口本身有改变,或者第三方软件的影响。

理解,但我确实没做任何操作,后台应该也没有什么影响到前台窗口的任务()

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

2 participants