Bug 58721

Summary: long logout sounds do not play all the way through
Product: [Plasma] ksmserver Reporter: Matthew A. Nicholson <therealman11>
Component: generalAssignee: Matthias Ettrich <ettrich>
Status: RESOLVED FIXED    
Severity: normal CC: null, xabigf
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matthew A. Nicholson 2003-05-20 19:32:25 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Debian testing/unstable Packages
OS:          Linux

When you logout out of kde,if your logout sound is long it will not play through.  I think this is because artsd is terminated before the sound finishes.  This makes it seem like kde is broken to the novice user.
Comment 1 Lubos Lunak 2003-06-03 15:41:37 UTC
Arts developers: Please provide a way for ksmserver to find out when event started by 
KNotifyClient::event() has finished. I don't see anything like that in knotify DCOP interface, and 
I don't know any other way how to make ksmserver wait during logout until knotify finishes. 
Reassign back to ksmserver when done. 
 
Comment 2 Lubos Lunak 2003-08-01 10:56:29 UTC
*** Bug 61927 has been marked as a duplicate of this bug. ***
Comment 3 Michał Kosmulski 2004-06-14 19:20:34 UTC
I get the same behavior. However, it is a little different for me in that for the last part of the logout sound that is played, sound is skipping terribly. It behaves like as if during logout, the machine is under heavy load (lots of disk I/O and processor usage) which causes the sound to skip albeit arts' realtime priority. My logout sound is about 3 seconds long CD-quality wav file. By the way, I had to use wav, because I couldn't use an OGG Vorbis file for the logout sound even thaugh the file open dialog listed ogg files as legitimate for system sounds. But when an ogg file was selected for the notification, no sound was played at all at logout.
Comment 4 Lubos Lunak 2004-07-18 16:42:53 UTC
*** Bug 84859 has been marked as a duplicate of this bug. ***
Comment 5 Wilbert Berendsen 2004-08-17 15:24:46 UTC
Same here, esp. with the new sounds, it would be very nice if this were fixed :-)

I think the session server calls artsd to play the logout sound, and should somehow wait with shutting down artsd till artsd says it is finished.
Comment 6 Jörg Hermsdorf 2004-09-30 14:32:24 UTC
But consider that a very very long logout sound could block the system. So the session server should not wait longer than... I don't know... 20 seconds??? Or maybe do a Fade-Out after 10 or 15 seconds.
Comment 7 Artemio 2004-09-30 14:34:33 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 8 Artemio 2004-09-30 14:35:55 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 9 Artemio 2004-09-30 14:36:56 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 10 Artemio 2004-09-30 14:38:16 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 11 Artemio 2004-09-30 14:39:07 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 12 Artemio 2004-09-30 14:39:20 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 13 Artemio 2004-09-30 14:39:31 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 14 Artemio 2004-09-30 14:39:51 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 15 Artemio 2004-09-30 14:40:20 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 16 Artemio 2004-09-30 14:40:32 UTC
Hello there!

The e-mail address you used has been disabled due to it's unfortunate presence in many and many spam databases. Please use the Artemio.net contact page [http://artemio.net/?p=contact] to contact me and find out my current working e-mail address.

Apologies for such inconvenience.


Sincerely,
Artemio.

Comment 17 Lubos Lunak 2004-11-16 15:00:09 UTC
CVS commit by lunakl: 

Wait until the logout sound finishes before completing KDE shutdown.
BUG: 58721


  M +1 -1      Makefile.am   1.23
  M +70 -13    server.cpp   1.135
  M +12 -13    server.h   1.41



Comment 18 Lubos Lunak 2004-11-18 15:15:07 UTC
*** Bug 35007 has been marked as a duplicate of this bug. ***