-
Notifications
You must be signed in to change notification settings - Fork 208
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
Can't move window to second screen #50
Comments
I can reproduce this. @chifandeyu you need to resize the window, then it shoud work again. But its pretty annoying. Also the "titlebar" widget gets a bit wider then, when resizing its back to normal... |
I can also reproduce this, happens every time I move the window from one screen to the other. |
yep, even though I have two exact same screen, this size of the widget is expanded when moving the widget across screens, and actual position of titlebar is below what it is showing |
Howdy all, I may continue to troubleshoot this further, but here is a starting point. |
Howdy again. Debugging the framelesswindow showed me that the issue was stemming from the 'mapFromGlobal(QPoint(x/dpr,y/dpr))' function used for mouse position calculation. Looking into the High DPI Qt Docs. QT goes into detail about how this works, but I personally am handling this via the code below before my main application function. 'main(int argc, char** argv)'
This prints out the below and successfully allows me to correctly use the Titlebar across multi-DPI screens.. from my little testing lol.
Edit: Hope this helps your findings. |
has this problem been fixed ? |
@jackfong66 Not until now. The project seems dead.. I moved to FramelessHelper. |
thx |
|
Hold down the left mouse button press and hold the left mouse button to move the window to the second screen the release of the mouse, and then click on the title bar to move the window, can not move
The text was updated successfully, but these errors were encountered: