-
Notifications
You must be signed in to change notification settings - Fork 345
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
Implement dynamic height and change vertical padding #1342
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1342 +/- ##
==========================================
+ Coverage 65.95% 66.08% +0.13%
==========================================
Files 50 50
Lines 8209 8247 +38
Branches 962 958 -4
==========================================
+ Hits 5414 5450 +36
- Misses 2795 2797 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Everything seems to work. Maybe I will add some functional tests |
I noticed that there are some differences from the old behavior so it's not ready yet |
Everything is working fine now. I also added test and functional tests. For a quick check on what this implements use I also noticed some indentation error in the docs and fixed (sorry for not making another pr :d) |
I think it's best to merge this before #1337 |
@fwsmit could you test this |
Sorry, I cannot test at the moment. Maybe someone else can do it? |
@zappolowski could you see this if you have the time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this is the intended behavior (except if vertical alignment is bottom I guess) so I will check again. did you test with the default dunstrc? |
I've tested it with the built-in default config ( |
note for the future: maybe we could save the output of functional tests and compare it automatically in the ci to see if we break the drawing (which is not very covered) |
How would you compare the output of the functional tests? Pixel for pixel comparison of the images might not work so well, because the font rendering might change slightly with different versions of pango or a font |
I didn't think about that. Maybe with specific pango and cairo versions |
since this seems to work well I'll merge |
https://dunst-project.org/changelog/ BREAKING: Implement dynamic height (changes the the height setting, see manual) (dunst-project/dunst#1342)
Implement dynamic height for notification, namely a way to define a minimum height.
I also changed the behavior of vertical padding to work even when there is no icon.
Summary: