-
Notifications
You must be signed in to change notification settings - Fork 445
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
[Bug] Geometry issues with Qt6 #1080
Comments
Some more investigations: The issue occurs also with Qt 6.7.2 as we have on Tumbleweed. The geometry is written to the log file. When I use a single monitor I get
This is correct, the right monitor is my primary monitor and is used as control screen. When I switch to multi monitor mode I get
This is also correct, but in fact control and display screen are now shown on the left monitor and also with the size of that monitor! So it's not the geometry information which is wrong, but If I ask for the geometry immediately after setting it i get
|
And here my solution. qDebug() << "control geometry" << geometry;
controlWidget->setGeometry(geometry);
// with Qt6, setGeometry has not the desired effect so we additionally use move and resize
controlWidget->move(geometry.topLeft());
controlWidget->resize(geometry.size());
UBPlatformUtils::showFullScreen(controlWidget); Adding the Before creating a PR with this workaround I would like to get more feedback on this problem. |
@jbruechert: On my system this also happens with the current Flatpak, which uses Qt6 under the hood. Jonah, have you observed something like this? @Vekhir: You also work a lot with Qt6: what are your observations? Did you have this issue? Note: Two monitors must be connected in order to evoke this issue. |
I usually work with a single monitor, though I sometimes test with virtual monitors created via
and destroyed via With this setup, your issue does not occur on my system with Qt 6.7.2. The text in the top right corner is fully visible for every icon. I'm running from the |
Closed as #1095 was merged |
Describe the bug
When starting OpenBoard, the icons in the toolbar are too narrow spaced. The right sidebar (palette) does not have its previous size, but is smaller. When opening a document, it is not centered.
To Reproduce
dev
, not withmaster
.I also had a situation where control screen and display screen where shown on the same monitor, but cannot reproduce this.
Context
systematic
, but I'm not suredev
,master
Linux
Windows
macOS
dev
,master
Additional context
Description: openSUSE Leap 15.6
, KDE, X112
(1680x1050 and 1920x1080)My assumption is that some screen geometry information is not available at the right time.
Edit: The issue does not occur when I disconnect my second monitor.
The text was updated successfully, but these errors were encountered: