Bug 235486

Summary: Infinite loop on change file type
Product: [Unmaintained] kdelibs Reporter: Aleksey Kontsevich <akontsevich>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: finex
Priority: NOR    
Version: 4.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.15
Sentry Crash Report:

Description Aleksey Kontsevich 2010-04-26 21:55:30 UTC
Version:            (using KDE 4.4.2)
Compiler:          GCC 4.4.1 
OS:                Linux
Installed from:    openSUSE RPMs

When I right click on a file - Properties (Alt-Enter) and press button "change file type", then I changing a program associated with a file type and press Ok or Apply: updating system configuration dialog and progess bar go to infinite loop. This is very old bug I met it in every KDE version seems since 3.5
Comment 1 Aleksey Kontsevich 2010-04-26 21:58:31 UTC
Same thing after editnig KDE-menu. Also newer installed programs not visinble in KDE menu until I restart X-session. It is very uncomfortable.
Comment 2 FiNeX 2010-08-01 16:34:25 UTC
If I'm not wrong, this bug should have been fixed on one of the latest KDE versions (I've read about it on some changelog).


moreover I'm not able to reproduce on KDE 4.4.5
Comment 3 Aleksey Kontsevich 2010-08-07 13:57:35 UTC
I still have it on 4.4.5 and had and many previous versions. Probably problems somewhere in settings^ if clean up them then all works fine. But I do not like to clear all the kde settings every time I met this problem. KDE is my only DE and I have many necessary settings in it: mail, programs, desktop, file manager, etc.
Comment 4 Aleksey Kontsevich 2010-12-20 16:25:56 UTC
Deleted all the kde settings (removed .kde and .kde4) - restarted X-server, but bug is still here: current KDE version 4.5.4
Comment 5 Aleksey Kontsevich 2011-03-07 02:59:59 UTC
Guys, the bug still here: KDE 4.6. I removed .kde4 directory, installed new KDE 4.6, fixed ~/.config/user-dirs.dirs file and bug disappeared for some time. However after some time it appeared again.

Very boring bug and spoils impression and convenience of KDE.
Comment 6 FiNeX 2011-03-07 10:01:11 UTC
Did you find a regular pattern or does it happen randomly?
Comment 7 Aleksey Kontsevich 2011-03-07 10:46:56 UTC
Now it happens every time when I try to change associated program. Recent time I tried to change it for mkv - no luck. Before that I tried to change ogg (Amarok to Audacious): was infinite loop but association was changed successfully. Now have infinite loop every time and can't change association. Seems the problem in some setting which KDE start to interpret wrong after some time of using.
Comment 8 Aleksey Kontsevich 2011-03-07 14:48:04 UTC
Hmm... strange: after restarting file manager (krusader or dolphin) association was changed to correct one. However infinite loop still present. Probably this could help You.
Comment 9 Aleksey Kontsevich 2012-06-13 13:08:00 UTC
This f...g bug still here in latest KDE -  4.8.4
Comment 10 David Faure 2015-09-20 17:36:47 UTC
Git commit 3a468067c23e7d4fdfcd185883db4ba9ab5c2a0a by David Faure.
Committed on 20/09/2015 at 17:36.
Pushed by dfaure into branch 'master'.

KBuildSycocaProgressDialog: run kbuildsycoca5 with QProcess.

The dbus-callback stuff from kded is unreliable and unnecessary.

And meanwhile I made kbuildsycoca5 work well when called more
than once, the second instance will wait for the first one
and then check if there's anything else to do, otherwise quit early.

Change-Id: I24f62cf1015bdbab1778245f4221f03f40a9bd0f
Related: bug 166792
REVIEW: 125314
FIXED-IN: 5.15

M  +4    -10   src/widgets/kbuildsycocaprogressdialog.cpp
M  +0    -1    src/widgets/kbuildsycocaprogressdialog.h

http://commits.kde.org/kio/3a468067c23e7d4fdfcd185883db4ba9ab5c2a0a