Version: unspecified (using KDE 1.2) OS: Linux When I use D-Bus's 'increase volume' method — kmix does not show OSD window. Also, it has no dbus method to display it! Reproducible: Always Steps to Reproduce: qdbus org.kde.kmix /Mixer0 org.kde.KMix.increaseVolume Master:0 Actual Results: no OSD, but the volume increases Expected Results: OSD is displayed and the volume increases. At least it should have another method that displays OSD with the current volume! That would be more *nix-ish :)
It is intended behavior. Like you propose, there could be another method that displays the OSD. I'll rename this bug report accordingly.
Great, thank you! I've found several discussions where people complained there's no simple way to get the OSD. Can't believe no one reported this issue here :)
As noted in comment #1, not displaying the popup on a DBus volume change is intentional. KMix does not actually put up the OSD itself - certainly in KF5 it asks plasmashell to do it via DBus, eg: $ qdbus org.plasmashell /org/kde/osdService volumeChanged 55 will show "55%" on the OSD. So if you have a DBus client that changes the volume then you can also call plasmashell to show the OSD at the same time. If you don't have the absolute KMix volume then you can read the current setting, after getting the current master card and control if you don't have them already (replace all colons with underscores to derive the DBus path): $ qdbus org.kde.kmix /Mixers currentMasterMixer ALSA::HDA_ATI_SB:1 $ qdbus org.kde.kmix /Mixers currentMasterControl Master:0 $ qdbus org.kde.kmix /Mixers/ALSA__HDA_ATI_SB_1/Master_0 volume 55