Bug 159128

Summary: Updating system configuration never ends
Product: [Applications] kmenuedit Reporter: Tomasz 'Zen' Napierala <tomasz>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: duffeck, mr.redmoose, r.pollesch, wstephenson
Priority: NOR    
Version: 0.7   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tomasz 'Zen' Napierala 2008-03-11 11:23:30 UTC
Version:           0.7 (using 3.5.9, Kubuntu (hardy) 4:3.5.9-0ubuntu1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.24-12-generic

Whenever I hit "save" button in kmenuedit, it pops-up status bar "Updating system configuration". Once the status bar reaches 100%, it starts over. This process never ends.
Comment 1 gmud 2008-08-04 16:26:06 UTC
I have the same problem. While editing I get some console output (see below). While kmenuedit tries to save I got no output on the console. It tried forever just like Tomasz reported. I am using latest KDE 4.1 (Ubuntu) packages. (Version 0.8, KDE 4.1.00 (KDE 4.1.0)).

Also, strace shows me some failed file access:

23525 stat64("/home/xyz/.kde4/share/applnk/kmenueditrc", 0x846bc5c) = -1 ENOENT (No such file or directory)                                                
23525 lstat64("/home/xyz/.kde4/share/applnk/kmenueditrc", 0xbf810490) = -1 ENOENT (No such file or directory)                                              
23525 access("/home/xyz/.kde4/share/applnk/kmenueditrc", W_OK) = -1 ENOENT (No such file or directory)                                                     
23525 access("/home/xyz/.kde4/share/applnk/kmenueditrc", F_OK) = -1 ENOENT (No such file or directory)                                                     
23525 stat64("/home/xyz/.kde4/share/applnk/kmenueditrc", 0xbf810300) = -1 ENOENT (No such file or directory)                                               
23525 stat64("/usr/lib/kde4/share/applications/kmenueditrc", 0xbf810300) = -1 ENOENT (No such file or directory)                            


Consoleoutput:

kmenuedit(23007) KHotKeys::ShortcutsHandler::ShortcutsHandler: Initializing shortcuts_handler
gmud@mod-mobile:/var/lib$ kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Creating action for  "{ca9d0c51-0000-4000-8892-978f7ea69dc0}"  -  "PrintScreen" : QKeySequence("Print")                                                                                                                                                               
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Making it a configuration action                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Finished creating action for  "{ca9d0c51-0000-4000-8892-978f7ea69dc0}"  -  "PrintScreen" : QKeySequence("") QKeySequence("")                                                                                                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Creating action for  "{14f2c0e5-0000-4000-af0a-63c9f8b4c5a3}"  -  "Activate KSIRC Window" : QKeySequence("Ctrl+Alt+I")                                                                                                                                                                          
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Making it a configuration action                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Finished creating action for  "{14f2c0e5-0000-4000-af0a-63c9f8b4c5a3}"  -  "Activate KSIRC Window" : QKeySequence("") QKeySequence("")                                                                                                                                                          
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Creating action for  "{91a6b29b-0000-4000-a1c0-efce44f5e505}"  -  "Type 'Hello'" : QKeySequence("Ctrl+Alt+H")       
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Making it a configuration action                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Finished creating action for  "{91a6b29b-0000-4000-a1c0-efce44f5e505}"  -  "Type 'Hello'" : QKeySequence("") QKeySequence("")                                                                                                                                                                   
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Creating action for  "{4dfc8c85-0000-4000-bd31-f3dc703496c0}"  -  "Run Konsole" : QKeySequence("Ctrl+Alt+T")        
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Making it a configuration action                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Finished creating action for  "{4dfc8c85-0000-4000-bd31-f3dc703496c0}"  -  "Run Konsole" : QKeySequence("") QKeySequence("")                                                                                                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Creating action for  "{0e1bf502-0000-4000-abb8-6963f5ab28a6}"  -  "Remap Ctrl+W to Ctrl+F4 in Qt Designer" : QKeySequence("Ctrl+W")                                                                                                                                                             
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Making it a configuration action                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Finished creating action for  "{0e1bf502-0000-4000-abb8-6963f5ab28a6}"  -  "Remap Ctrl+W to Ctrl+F4 in Qt Designer" : QKeySequence("") QKeySequence("")                                                                                                                                         
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Creating action for  "{94da723e-0000-4000-a0b7-c04c3b02a409}"  -  "Perform D-Bus call 'kdesktop KDesktopIface popupExecuteCommand()'" : QKeySequence("Ctrl+Alt+W")                                                                                                                              
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Making it a configuration action                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Finished creating action for  "{94da723e-0000-4000-a0b7-c04c3b02a409}"  -  "Perform D-Bus call 'kdesktop KDesktopIface popupExecuteCommand()'" : QKeySequence("") QKeySequence("")                                                                                                              
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Creating action for  "{ebf582b0-0000-4000-9e68-40461357fd46}"  -  "Next in XMMS" : QKeySequence("Ctrl+Alt+B")       
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Making it a configuration action                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Finished creating action for  "{ebf582b0-0000-4000-9e68-40461357fd46}"  -  "Next in XMMS" : QKeySequence("") QKeySequence("")                                                                                                                                                                   
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Creating action for  "{abcc959a-0000-4000-b20c-f6073b2c824a}"  -  "Go to KDE Website" : QKeySequence("E")           
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Making it a configuration action                                                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::addAction: Finished creating action for  "{abcc959a-0000-4000-b20c-f6073b2c824a}"  -  "Go to KDE Website" : QKeySequence("") QKeySequence("")                                                                                                                                                              
kmenuedit(23007) KHotKeys::ShortcutsHandler::removeAction: Removing action for  "{ca9d0c51-0000-4000-8892-978f7ea69dc0}"                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::removeAction: Removing action for  "{14f2c0e5-0000-4000-af0a-63c9f8b4c5a3}"                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::removeAction: Removing action for  "{91a6b29b-0000-4000-a1c0-efce44f5e505}"                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::removeAction: Removing action for  "{4dfc8c85-0000-4000-bd31-f3dc703496c0}"                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::removeAction: Removing action for  "{0e1bf502-0000-4000-abb8-6963f5ab28a6}"                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::removeAction: Removing action for  "{94da723e-0000-4000-a0b7-c04c3b02a409}"                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::removeAction: Removing action for  "{ebf582b0-0000-4000-9e68-40461357fd46}"                                                    
kmenuedit(23007) KHotKeys::ShortcutsHandler::removeAction: Removing action for  "{abcc959a-0000-4000-b20c-f6073b2c824a}"                                                    
Couldn't resolve property: radialGradient6084                                                                                            
Comment 2 René J. Pollesch 2008-12-22 15:04:34 UTC
Same here in latest SVN. Seems that kmenuedit does not run kbuildsycoca4 when trying to save changes?

When I make changes to the menu and run kbuildsycoca4 by hand, the changes will be stored.
Comment 3 Matt 2009-04-24 20:42:38 UTC
I have the same problem.  Would really like it fixed because I can't add VLC to the menu. I will try running kbuilsycoca4 by hand and see what happens. May have to go back to Gnome...
Comment 4 Matt 2009-04-24 20:47:53 UTC
Oh, I'm using KDE 4.2.2.
Comment 5 Matt 2009-04-25 17:10:09 UTC
Ok, I ran kbuilsycoca4 while kmenuedit was running.  It didn't fix the problem of the never ending progress bar but when I restarted kmenuedit, all of my non-kde app showed up in the menu including vlc.  So I didn't have to add vlc manually. I had to do the same process again when I installed more apps but it's not that big of a deal.  Thanks Pollesch! I have no idea what kbuilsycoca4 is or what it does but that worked!
Comment 6 Will Stephenson 2009-11-23 17:13:41 UTC

*** This bug has been marked as a duplicate of bug 166792 ***