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

无边框窗口来回在两个屏幕上拖动移动会产生残留 #334

Closed
kevinlq opened this issue Nov 7, 2023 · 4 comments
Closed

无边框窗口来回在两个屏幕上拖动移动会产生残留 #334

kevinlq opened this issue Nov 7, 2023 · 4 comments

Comments

@kevinlq
Copy link
Contributor

kevinlq commented Nov 7, 2023

该框架无边框使用了framelesshelper, 猜测应该是这个库的问题。实际测试中发现在两个屏幕上来回拖动Example 程序,会产生残留以及控制台输出警告错误信息:

setGeometry: Unable to set geometry 973x696+623+241 (frame: 989x704+615+241) on MainWindow_QMLTYPE_103/"" on "\\.\DISPLAY1". Resulting geometry: 973x727+623+210 (frame: 989x735+615+210) margins: 8, 0, 8, 8 minimum size: 520x200 MINMAXINFO(maxSize=POINT(x=0, y=0), maxpos=POINT(x=0, y=0), maxtrack=POINT(x=0, y=0), mintrack=POINT(x=536, y=208)))

现象如下:
image

其次,使用我自己写的 Demo 现象更明显一些:
image

@zhuzichu520
Copy link
Owner

https://github.com/wangwenx190/framelesshelper 可以给这位大佬提个issue。。哈哈,我也在写聊天Demo,准备服务端、PC端、Flutter移动端、H5管理平台全部写一遍,要不组个队0.0。。。
1699374637484

@zengdapang
Copy link

参考这里

@kevinlq
Copy link
Contributor Author

kevinlq commented Nov 23, 2023

https://github.com/wangwenx190/framelesshelper 可以给这位大佬提个issue。。哈哈,我也在写聊天Demo,准备服务端、PC端、Flutter移动端、H5管理平台全部写一遍,要不组个队0.0。。。 1699374637484

嗯嗯,看了原仓库中的 issue,属于 Qt bug 了,那就暂时用其它版本了,不纠结了。

我看到了只是顺手写个 demo练练手,平时太忙了,应该没时间组队,996太忙了...

@kevinlq
Copy link
Contributor Author

kevinlq commented Nov 23, 2023

参考这里

嗯嗯,看到了,谢谢。

@kevinlq kevinlq closed this as completed Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants