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

Simplify window positioning compute, more flexibly handle different available geometries #6353

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Jan 16, 2024

This PR simplifies the calculation of safe spaces for the tray window to be positioned in by using Qt's inbuilt available screen geometries, rather than us trying to manually calculate the taskbar geometry

Requires testing on Linux and Windows

…measurement unit to define non-taskbar invading window positions, removing need for calculating taskbar geometry

Signed-off-by: Claudio Cambra <[email protected]>
@mgallien mgallien merged commit b977472 into master Jan 29, 2024
7 of 10 checks passed
@mgallien mgallien deleted the bugfix/window-pos-compute branch January 29, 2024 16:27
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-6353-b1a50f42bed99685fd0ef3a5281151306c30aa39-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

Copy link

sonarcloud bot commented Jan 29, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@mgallien mgallien added this to the 3.12.0 milestone Apr 24, 2024
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

Successfully merging this pull request may close these issues.

3 participants