Bug 126823

Summary: Editing application properties for file associations in the applicaitons preferences order list, doesn't work
Product: [Applications] konqueror Reporter: Ned Boony <crazyned>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ned Boony 2006-05-06 00:44:10 UTC
Version:           3.5.2 (using KDE 3.5.2, Gentoo)
Compiler:          gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.14-gentoo-r5

It may be best to try the following on a fresh new KDE user account,

In Konqueror:

Steps:
1) Settings->Configure Konqueror->File Associations
2) Select any mimetype and select any application associated with it
3) Click "Edit..." and make any changes so that the local .desktop file will be written.

=
If you then click away from the selected mimetype and then back to it, the application is (usually) disappeared from the "Application Preference Order" list altogether (although while testing, sometimes I found it still there), and still missing after restarting Konqueror.

The application is also missing from the KMenu.
=
I noticed that editing applications through this procedure writes a different file than when editing the application via the KMenu Editor, kmenuedit (????).

The 'Category=' item, for example, isn't written in the .desktop file when editing the application via Konqueror, and I found that adding the correct line in the ~/.local/share/applications/*.desktop file will apparently make it reappear in both the KMenu and Applications Preferences Order list.

I tested with KMPlayer (video/x-msvideo) and amaroK (audio/x-mp3).
Comment 1 James Richard Tyrer 2007-12-25 14:49:00 UTC
I will confirm the first half of this.

Test case.

Open Dolphin, right click a SVG file, choose "Properties" and click the "Edit File Type" button.

Then add Gwenview to the list of applications.  Click "OK" "OK".  Now try to open the file with Gwenview.  It isn't there in the context menu.  So go back to the applications list, it isn't there.

Since this is a very wide spread problem, I would rate this as a show stopper.

I have observed the sellected application disapearing from the menu, but can't confirm it on today's build so it might be fixed.
Comment 2 James Richard Tyrer 2007-12-25 15:15:20 UTC
Updating bug since this problem is the same in KDE4 SVN.
Comment 3 James Richard Tyrer 2007-12-25 15:36:37 UTC
On second thought since I can't tag this as a KDE4 bug and since it has been fixed in KDE-3.5, I am closing it as fixed.