Bug 306870

Summary: system tray will continue refresh when play a music
Product: [Applications] kmix Reporter: TOM Harrison <l12436.tw>
Component: Backend: PulseaudioAssignee: Colin Guthrie <colin>
Status: RESOLVED FIXED    
Severity: major CC: daniel.eckl, esken, evan+kdebugs
Priority: NOR    
Version: 4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description TOM Harrison 2012-09-16 03:33:17 UTC
i am using the kde4.9.1 kmix 4.2 pulse+alsa.
and when the application play music, or or the music player change the song.
the system tray will refresh.
and i save try only using the pulse.
still have this problem.
and without using the pulse or close the kmix system tray.
it normal.


Reproducible: Always
Comment 1 TOM Harrison 2012-09-16 03:44:31 UTC
wrong:and i save try only using the pulse.
right:and i have try only using the pulse.

for now, i just only could close the kmix system tray.
Comment 2 Christian Esken 2012-10-03 23:58:00 UTC
The English sentences you write do not make sense. Thus I do not understand your problem. In any case, the tray is under rework (especially in terms of application streams that are common in PulseAudio). Please test with KDE 4.10 once available - should you have problem open a new bug report.
Comment 3 Evan 'JabberWokky' Edwards 2012-10-07 21:12:36 UTC
I'm pretty sure this is describing what I am seeing: the system tray is suddenly exploding in refreshes, icons flickering around and bouncing back and forth.  Phantom empty icons are appearing and disappearing, and the cpu usage jumps way up.

One of the other processes jumping in cpu usage is pulseaudio (even though no sound is playing).  When the pulseaudio is killed, the system tray suddenly collapses back into normal behavior.
Comment 4 Christian Esken 2012-10-07 21:35:15 UTC
Thanks for the feedback. Please retry with KDE 4.10 (once available).
You could also compile trunk KMix, as I am pretty sure that it should work much much smoother there. But please note that resizing the tray is currently broken.
I'll put the Ticket on "FEEDBACK" until then, so in any case, report back.
Comment 5 Christian Esken 2012-10-07 21:35:37 UTC
.
Comment 6 Evan 'JabberWokky' Edwards 2012-10-07 21:40:09 UTC
Thanks.  I'll follow up when I have 4.10 installed.  I added my observations just to give some clues to anybody else experiencing and searching for information about this problem.  It is intermittent, but happens (for me) fairly reliably a few times a day.  I should be able to state if it is resolved with 4.10 within a day of using it.
Comment 7 Daniel Eckl 2012-10-08 14:52:52 UTC
I think the issue is, that when a playback stream is starting on pulseaudio, kmix for just very very few milliseconds spawns a new tray icon and immediately deletes it again.

Through that, the tray scape is being resized and that's where the flickering is coming from.

Same happens when the playback stream disconnects.

In my case: Every time I get a tweet in my Tweetdeck for Chrome or everytime a new Pidgin message arrives, the tray flickers.

Reproduce whenever you like by playing some wave file with paplay.
Comment 8 Daniel Eckl 2012-10-08 15:26:21 UTC
Update: Cannot reproduce anymore with kmix trunk
Comment 9 Christian Esken 2012-10-08 22:13:17 UTC
Thanks Daniel for the quick test. I am pretty sure your observation is correct: The tray icon was deleted and recreated. Exactly this is avoided in the version KDE 4.10 - or to give a broader view: the complete communication architecture was reworked (see http://kmix5.wordpress.com/2012/09/24/more-consistent-gui-and-updates-to-the-soundmenu/ for more information).

Closing bug report.