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

Adjusting for Windows Scaling broken with Qt6 #574

Open
psieg opened this issue Jan 28, 2023 · 1 comment
Open

Adjusting for Windows Scaling broken with Qt6 #574

psieg opened this issue Jan 28, 2023 · 1 comment

Comments

@psieg
Copy link
Owner

psieg commented Jan 28, 2023

I recently switched the master branch to build using Qt6 and it seems Qt6 handles something about windows scaling differently from how Qt5 did. Now capturing on displays with scaling is off, i.e. it's not capturing where the grab widgets are.

https://doc.qt.io/qt-6/highdpi.html

I also noticed that when configuring the layout at one scale and then switching scale, the grab widgets move, which didn't happen with Qt5.

@psieg
Copy link
Owner Author

psieg commented Feb 11, 2024

@zomfg you are on mac, right? I merged Qt6 on master, could you please test whether mac needs the same coordinate adjustments here:

#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) && defined(Q_OS_WIN))

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

1 participant