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

Fix wingpanel potentially overlapping windows #198

Merged
merged 1 commit into from
Feb 25, 2019
Merged

Conversation

peteruithoven
Copy link
Collaborator

@peteruithoven peteruithoven commented Feb 25, 2019

Fixes: #130

I noticed that sometimes my wingpanel would overlap left/right tiled windows. Looking into it it seemed like the allocated height of the panel changed from 24 (the requested height) to 30. For some people, in some cases this switch would happen after the slide in animation where the truts? are updated.

I filtered out all indicators and it seemed like these indicators caused the panel's height to go from 24 to 30:

You can also see that those 4 have a margin above and below:
screenshot from 2019-02-25 22-49-18

I'm assuming we actually like the 30, so this PR makes sure we start of at 30.

For comparison:
24 height:
screenshot from 2019-02-25 22-03-15
30 height:
screenshot from 2019-02-25 22-05-10

Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah 30 is the correct height. The indicator icons are typically 24px + 3px*2 of margin for box shadow

@danirabbit danirabbit merged commit fc1b8ea into master Feb 25, 2019
@danirabbit danirabbit deleted the Fix-overlap branch February 25, 2019 23:25
@worldofpeace
Copy link

@codygarver Can we get a 2.2.3 release with this fix?

rycee pushed a commit to rycee/nixpkgs that referenced this pull request Mar 7, 2019
worldofpeace added a commit to NixOS/nixpkgs that referenced this pull request Mar 7, 2019
adrianpk added a commit to adrianpk/nixpkgs that referenced this pull request May 31, 2024
adrianpk added a commit to adrianpk/nixpkgs that referenced this pull request May 31, 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.

None yet

3 participants