Bug 69405 - When choosing an external player in "System Notification" it is disabled and can't be changed
Summary: When choosing an external player in "System Notification" it is disabled and ...
Status: RESOLVED FIXED
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: kcmknotify (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Carsten Pfeiffer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-01 00:03 UTC by Dror Levin
Modified: 2004-05-29 15:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dror Levin 2003-12-01 00:03:06 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3.2 
OS:          Linux

I am not using arts but I still wanted KDE to play notifications so I clicked "Player Settings..." in "System Notification" module in kcontrol, selected "use external player" and wrote "play".
I later wanted to change the application used to play notification but realized everything in the little "Player Settings" window is diabled and I had to change the player by editing the config file manually.
Comment 1 Marco Gusy 2004-03-11 00:47:40 UTC
Workaround: in ~/.kde/share/config/knotifyrc you can change:
Use external player=true
to
Use external player=false
Comment 2 Friedrich Lobenstock 2004-05-09 00:45:31 UTC
Just had the same experience. 

I am using the latest KDE 3.2.2 installed from SuSE RPM's found at ftp://ftp.suse.com/pub/suse/i386/supplementary/KDE/
Comment 3 Friedrich Lobenstock 2004-05-11 11:59:58 UTC
Just got a mail to update my bugs.

Yes this bug is still valid for 3.2.2
Comment 4 Jan Villat 2004-05-29 15:07:54 UTC
CVS commit by villat: 

Bug fix: "Use external player" was disabled when it shouldn't be.
CCMAIL: 69405-done@bugs.kde.org


  M +3 -2      knotify.cpp   1.73


--- kdebase/kcontrol/knotify/knotify.cpp  #1.72:1.73
@@ -247,7 +247,6 @@ void PlayerSettingsDialog::load()
                                                   false ));
     reqExternal->setURL( config.readPathEntry( "External player" ));
-    reqExternal->setEnabled( cbExternal->isChecked() );
     volumeSlider->setValue( config.readNumEntry( "Volume", 100 ) );
-    volumeSlider->parentWidget()->setEnabled( !cbExternal->isChecked() );
+    externalToggled( cbExternal->isChecked() );
 }
 
@@ -295,4 +294,6 @@ void PlayerSettingsDialog::externalToggl
     if ( on )
         reqExternal->setFocus();
+    else
+        reqExternal->clearFocus();
 }
 


Comment 5 Jan Villat 2004-05-29 15:13:00 UTC
Fix backported in KDE_3_2_BRANCH.