-
Notifications
You must be signed in to change notification settings - Fork 51
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
Weird rendering issue with 2 screens (Mac OS) #3
Comments
Took me a while but finally found something relevant... Looks like it's on Qt side : https://bugreports.qt.io/browse/QTBUG-58626 |
Wow, nice bug find on qt.io! Have you tried a pre Qt 5.8.0 version? While I wasn't using QML as you are, I otherwise haven't seen this in pre 5.8.0 projects on macOS. |
Same issue with 5.7, we'll see for 5.9 ! |
Any luck with Qt 5.9? I can confirm that non-QML works in Qt 5.9 on macOS, just tested that today while fixing a bug introduced on the Windows side. (In related news, they reworked a lot of their DPI code, so 5.9 may very well have helped this!) |
does that mean I can't use it in a qml application? thanks for your work~ |
@coooooooooorey I'm not sure if the bug linked above is still present as of 5.9. I don't use QML myself, so I don't have anything on hand to test with. Please do let me know if you have trouble if you give it a try! |
I just installed Qt 5.9, I'll try it out this week and give you feedback but given the bug report, it is not fixed yet :( |
Tested with Qt 5.9.1, same issue... |
Ugh, dang. Do you have any simple sample code to repro it by chance? |
There is a simple sample code attached here: https://bugreports.qt.io/browse/QTBUG-58626 |
First of all, thank you for this ! It's been a while I wanted to code this and never took the time for it...
I tried it and everything worked really nice until I connected an external screen. I ran into a really weird issue : the content is downscaled and uses a quarter of the available size.
The issue only appears on one of the screen, with the lowest DPI. The weird part is that if I log the width in QML, it's the width of the window. And we can't see my mouse cursor on the screenshot, but it reacts normally.
So, only the rendering isn't what it should... I googled a bit and didn't find anything valuable... Any idea where to look at?
The text was updated successfully, but these errors were encountered: