Bug 378058 - Reload applet if pulseaudio restarted
Summary: Reload applet if pulseaudio restarted
Status: RESOLVED DUPLICATE of bug 358772
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-25 10:09 UTC by Ural
Modified: 2017-03-25 20:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ural 2017-03-25 10:09:28 UTC
Hello. 
Sometimes pulseaudio crashes. The volume icon comes disabled.
If I do 'pulseaudio --start', volume icon will be unusable until logout. 
In KDE4, I resolved it by 'killall kmix; kmix', but in Plasma 5 there is no way to do this.

Can you add some loop check, if pulseaudio crashed and then becomes available, reload the volumes?

I found a similar bug report here, but it is old, outdated and belongs to version 5.5 https://bugs.kde.org/show_bug.cgi?id=358772 and have different description.

The problem still exists in Plasma 5.9.4

Thanks
Comment 1 David Rosca 2017-03-25 10:10:39 UTC
Works fine here, can you please post output of plasmashell when you restart pulseaudio?
Comment 2 David Rosca 2017-03-25 10:21:40 UTC
*** This bug has been marked as a duplicate of bug 358772 ***
Comment 3 Ural 2017-03-25 20:10:37 UTC
Hm, strange. If I do 'pulseaudio -k; pulseaudio --start', applet reloading well. I had this issue when pulseaudio crashed or was killed by lowmemorykiller, and when I did 'pulseaudio --start', applet was not reloaded. Maybe latest updates fixed it. I'll verify
Comment 4 David Rosca 2017-03-25 20:47:35 UTC
If a pulseaudio is restarted right after the crash (which is default when started with systemd user session) it will work correctly. If it is restarted with more than 1 second delay, it won't work.
Patch linked in bug 358772 fixes this.