-
Notifications
You must be signed in to change notification settings - Fork 364
queues: require the same appid for stacking a notification #886
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
Conversation
|
Valgrind seems to be complaining. n1 isn't beeing freed for some reason? |
This has been suggested in https://gitlab.freedesktop.org/xdg/xdg-specs/-/issues/77 to prevent name collisions.
Codecov Report
@@ Coverage Diff @@
## master #886 +/- ##
==========================================
+ Coverage 58.07% 60.50% +2.42%
==========================================
Files 37 39 +2
Lines 6104 6228 +124
==========================================
+ Hits 3545 3768 +223
+ Misses 2559 2460 -99
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
@tsipinakis It was a problem with a |
|
Hi, how can i achieve the same result as below configuration after this commit ? Before this, i can set different state for each low, mid, and high volume but still stacking by using same stack tag, but now it seems same appname required for make it stacking [volume]
appname = "Audio"
format = " <span font='32'>%s <span foreground='#a9b1d6'>%b</span>%%</span>"
foreground = "#0db9d7"
frame_color = "#0db9d7"
highlight = "#0db9d7"
history_ignore = yes
new_icon = NONE
[volume-high]
appname = "Audio High"
format = " <span font='32'>%s <span foreground='#a9b1d6'>%b</span>%%</span>"
foreground = "#ff7a93"
frame_color = "#ff7a93"
highlight = "#ff7a93"
history_ignore = yes
new_icon = NONE
[volume-low]
appname = "Audio Low"
format = " <span font='32'>%s <span foreground='#a9b1d6'>%b</span>%%</span>"
foreground = "#a9b1d6"
frame_color = "#a9b1d6"
highlight = "#a9b1d6"
history_ignore = yes
new_icon = NONE
[volume-mute]
appname = "Audio Mute"
format = " <span font='32'>%s %b%%</span>"
foreground = "#444b6a"
frame_color = "#444b6a"
highlight = "#444b6a"
history_ignore = yes
new_icon = NONE |
It's expected that this doesn't work anymore. There are multiple ways to fix this:
|
Ah, I see, thank you. |
|
I am also confused. How do I manually stack notifications without knowing the appid? Setting the same appname does not result in the same appid. Of course, the workaround involving the appid is to print the appid with |
You are only supposed to stack notifications coming from the same application, i.e. with the same appid. To stack notifications from the same applications, you just need to give them the same stack_tag. You can use This PR only changes that the appid's of the notifications have to match to avoid name collisions in stack tags. What's your use case, since I don't see how it's affected by this PR. |
|
Sorry, I was mistaking the appid and notification id (I thought there was only one id-thing). The behavior did change for me after 1.7.0, but shouldn't be related to this PR. Please forget about that comment. |
|
Ok you can open an issue about it then :) |
This has been suggested in https://gitlab.freedesktop.org/xdg/xdg-specs/-/issues/77 to prevent name collisions.