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

docking: Do ControlsManagerLayout allocation with box-adjusted workArea #2020

Merged
merged 3 commits into from Jun 2, 2023

Conversation

3v1n0
Copy link
Collaborator

@3v1n0 3v1n0 commented May 31, 2023

We were allocating the ControlsManagerLayout using the whole work area geometry but then in the auto-hide mode we were reducing the size of the available area again, creating problems when the available space was reduced. Leading to non-clickable or activatable search results.

To prevent this, perform layout allocation using the available space even when the dock is in autohide mode.

Closes: #1612
LP: #1979096

We were allocating the ControlsManagerLayout using the whole work area
geometry but then in the auto-hide mode we were reducing the size of the
available area again, creating problems when the available space was
reduced. Leading to non-clickable or activatable search results.

To prevent this, perform layout allocation using the available space
even when the dock is in autohide mode.

Closes: micheleg#1612
LP: #1979096
3v1n0 added 2 commits May 31, 2023 03:02
We used different behavior depending on the state, but we can just be
consistent and reduce the vertical space used in the same way
@vanvugt
Copy link
Collaborator

vanvugt commented May 31, 2023

Whatever the remaining bug is that this fixes, I can't reproduce it. The original bug seems fixed on master for me.

@3v1n0
Copy link
Collaborator Author

3v1n0 commented Jun 2, 2023

It's not easy to reproduce, but I generally get it in a FullHD setup where non-fractional scaling at 200% is enabled + dock as autohide, and it does fixes #1979096 for good in this case (which previous fix was not enough for).

@3v1n0 3v1n0 merged commit dfb1ac1 into micheleg:master Jun 2, 2023
1 check passed
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.

Enabling dash-to-dock messes up search results navigation
2 participants