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

Windows11 display scalin #135

Open
Skm1221 opened this issue Sep 10, 2024 · 8 comments
Open

Windows11 display scalin #135

Skm1221 opened this issue Sep 10, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@Skm1221
Copy link

Skm1221 commented Sep 10, 2024

First of all, thank you for providing such a great library.

While using it, I encountered an issue and I am leaving this message to see if there is a solution.

When changing the Windows display scale, the height of the example qtquick code changes.

For example:
If you switch the scale like this: 100% > 225% > 100% > 225% > 100%,
you can visibly see the height of the window decrease each time.

Question:
Is there any way to fix this problem?

@wangwenx190
Copy link
Collaborator

Qt bug introduced in Qt 6.2, fixed in 6.4 or 6.5. Please upgrade your Qt version to a newer version.

@Skm1221
Copy link
Author

Skm1221 commented Sep 10, 2024

Thank you for your fast response!!

My qt version is 6.7.2

I tested with 6.6.3 and 6.7.2, and both results were the same

Should I downgrade to 6.5??

@SineStriker
Copy link
Contributor

Thank you for your fast response!!

My qt version is 6.7.2

I tested with 6.6.3 and 6.7.2, and both results were the same

Should I downgrade to 6.5??

Does the problem still exist in Qt 6.6 or 6.7?

@Skm1221
Copy link
Author

Skm1221 commented Sep 10, 2024

Yes, it was.
Versions were 6.6.3 and 6.7.2

I didn't test with qwidget yet.

I'll test it tomorrow

@SineStriker SineStriker added the bug Something isn't working label Sep 10, 2024
@Skm1221
Copy link
Author

Skm1221 commented Sep 13, 2024

Sorry for late test.
I tested qwidget example with Qt 6.6.3 and checked decreasing of window height!

@wangwenx190
Copy link
Collaborator

Anyway, it's a Qt bug and it's I who pushed a fix for upstream Qt, so it should be fixed already. But now it seems it got broken again later for some reason.

@Skm1221
Copy link
Author

Skm1221 commented Sep 27, 2024

@wangwenx190
Copy link
Collaborator

Is it related with this link?? qt/qtbase@17ab11c#diff-df8d4c1559d15c2e05198d3adb5a1ed9fe096a4584d0b35f7dc614cd20b680a5

It's commited by me indeed but not related to the current issue at all. Please check this commit which is the fix I mentioned above.

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

3 participants