I've been debugging notification with developers of pasystray and they claim it should not only show progressbar, but also summary text. However it seems to not work with xfce4-notifyd.
They send notification basically like this:
notify-send -i audio-volume-medium -h int:value:100 text
But it only causes volume bar to show, but not the text. It's especially important as pulseaudio volume can be more than 100% and then volume bar itself is not usefull. Also sometimes i want to set exactly 100% and it's hard, because i can't easily tell it from 99% or 101%.
Can you make it possible to show numeric percentage besides of bar?
I quickly investigated this issue and generally speaking it handles the "x-canonical-private-icon-only" hint correctly.
However, if the "value" hint is supplied, which is btw not part of the standard hints as defined in the spec (https://developer.gnome.org/notification-spec/#hints), it also only shows a gauge.
The following three lines of code are responsible for this behavior, which I presume, is by design:
I understand this is useful in the context of PulseAudio, but obviously notifyd was not written with these (I'd say: corner) cases in mind. It also caps the values between 0 and 100: https://git.xfce.org/apps/xfce4-notifyd/tree/xfce4-notifyd/xfce-notify-window.c?id=xfce4-notifyd-0.2.4#n1083
Do you have examples of how other notification daemons handle this scenario (plus the generic/general audio/value notifications)?
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-notifyd/-/issues/4.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev