Bug 199465

Summary: kfmclient started in a endless loop
Product: [Applications] systemsettings Reporter: Andreas Scherf <ascherfy>
Component: kcm_componentchooserAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: b.brachaczek, eric, pfmiller, reavertm, wrar, xenomorph
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.10
Sentry Crash Report:

Description Andreas Scherf 2009-07-08 20:37:49 UTC
Version:           4.3RC1 (using KDE 4.2.90)
Compiler:          4.3.3 
OS:                Linux
Installed from:    Ubuntu Packages

I used the kcontrol module for standard applications.
In the webbrowser group the second option was selected.
"open http and https links with the following browser"
The edit field is blank.

With this option i tried to clieck on a link in kmail. After that the kfmclient was started in an endless loop an my system was unusable. I have to killall kfmclient to let it work again. I think opening a link from every kde app shows the same issue.
Comment 1 Eric 2009-09-28 00:07:03 UTC
Confirmed same bug with my system as well. Edit field was blank causing an endless loop. Changed to 'firefox' and problem resolved. Tried to re-create behavior by blanking edit field but kfmclient now displays error message "Could not find the program '%u'". Same problem if edit field has one space as well.

Kubuntu 9.04 KDE 4.2.2 from kubuntu sources.
Comment 2 Bartosz Brachaczek 2010-03-09 21:10:22 UTC
Confirming that the bug is still valid for KDE SC 4.4.1.

Steps to Reproduce:
1. Set your default browser to something different from Konqueror, e.g. Firefox.
2. Remove/Rename Firefox's .desktop file (/usr/share/applications/mozilla-firefox-3.6.desktop in my case).
3. Relogin.
4. Try to run `kfmclient openURL http://kde.org`.

Current Behavior:
You can observe an endless loop.

Expected Behavior:
Don't know, maybe display an error message, or fallback to Konqueror.
Comment 3 Bartosz Brachaczek 2010-03-09 21:21:49 UTC
And it's definitely not a bug in systemsettings, as kfmclient is konqueror/general, AFAIK. Not sure, but I guess it might be a bug in KRun, i.e. kio/http.
Comment 4 Andrey Rakhmatullin 2010-05-01 17:19:00 UTC
*** Bug 217835 has been marked as a duplicate of this bug. ***
Comment 5 Igor Gritsenko 2010-08-14 09:18:33 UTC
gcc (Gentoo 4.3.5 p1.0, pie-10.1.5) 4.3.5
KDE Development Platform: 4.5.00 (KDE 4.5.0)
Bug was catched and the browser string was empty too. Changing to autodetect resolve this problem, but I still want to know that this bug will be removed in future.
Comment 6 Maciej Mrozowski 2010-09-12 21:17:57 UTC
This may be a duplicate of bug 137534
Comment 7 Jekyll Wu 2012-12-05 06:51:03 UTC
Can't reroduce the problem in KDE SC 4.10 by following the steps in comemnt #0, #1 and #2 and #4.  Is this still a problem for all reporters in recent versions ?
Comment 8 Bartosz Brachaczek 2012-12-05 12:24:41 UTC
For me it's fixed in 4.10, thanks.