! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Summary is not shown for volume change notification (0.2.4)


Description Anonymous 2016-05-22 20:16:59 CEST
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?

Comment 1 Simon Steinbeiss editbugs 2016-09-30 22:44:19 CEST
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)?
Comment 2 Git Bot editbugs 2020-05-24 20:04:40 CEST
-- 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

Bug #12585

Reported by:
Reported on: 2016-05-22
Last modified on: 2020-05-24


Jérôme Guelfucci
CC List:
1 user



Additional information