Version: 3.4.0.5 (using KDE KDE 3.4.0) Installed from: Fedora RPMs OS: Linux Since I don't like KGhostView to read pdf documents, I took the following steps: - right-clicked on the file - choose "Open with" menu - choose the "Other" menu item. - checked che box "remember application association for this type of file" - selected Kpdf as application - closed the document opened with Kpdf. The file is still opened with KGhostView, therefore it seems that konqueror does not remember file associations.
I can confirm this. Trunk 433373. Also note I did see the "Updating configuration window". Running kbuildsycoca and starting konqueror fresh from the terminal didn't help either.
Testing with 3.5.5 I see the following: After chosing open with ... <some app>, the file I right clicked is opened with that selected app. Also, the association is stored on PDF file types, but the problem is: the stored association is appended (as LAST) to the list of applications which can handle this filetype, and if there is already another one on top, this will still be used. The fix must be to put the new association as first item in the list.
In deed it seems that some corruption can happen to the file association database. Sometimes KDE simply does not remember changes to file associations. Perhaps there should be some way to check the consistency of the file association database, because I believe that this kind of unpredictable behaviour results from some kind of internal inconsistency. Last time it behaved like this: xy.flv: right click, properties, claw button; set icon & players(kaffeine,gxine,xine,mplayer), OK nothing happened: neither icon changed nor flvs associated with stated players another try: clicked on apply multiple times after each change: everything seemed to be set correctly at first. little time later tried to open flvs again: assocition with players lost; changes to icon still present. I have already experienced things like these multiple times !
Sometimes changes to file associations require multiple attempts, another time they are simply forgotten.
KDE control center shows that two mimetypes have been created for *.flv/*.FLV: applicataion/x-kdeuser5: changes to players saved here (kaffeine, gxine, MPlayer) assoc with xine player lost applicataion/x-kdeuser6: icon saved here Konqueror expresses applicataion/x-kdeuser6 only.
> kbuildsycoca kbuildsycoca running... Reusing existing ksycoca kio (KService*): WARNING: The service/mime type config file application/x-kdeuser7.desktop does not contain a ServiceType=... or MimeType=... entry
> cat ~/.kde/share/mimelnk/application/x-kdeuser5.desktop [Desktop Entry] Comment=Flv Datei Hidden=false Icon= MimeType=application/x-kdeuser5 Patterns=*.flv;*.FLV Type=MimeType > cat ~/.kde/share/mimelnk/application/x-kdeuser6.desktop [Desktop Entry] Comment=Flv Datei Hidden=false Icon=video MimeType=application/x-kdeuser6 Patterns=*.flv;*.FLV Type=MimeType > cat ~/.kde/share/mimelnk/application/x-kdeuser7.desktop [Desktop Entry] X-KDE-AutoEmbed=false
> desktop-file-validate ~/.kde/share/mimelnk/application/x-kdeuser5.desktop /home/elm/.kde/share/mimelnk/application/x-kdeuser5.desktop: error: required key "Encoding" not found /home/elm/.kde/share/mimelnk/application/x-kdeuser5.desktop: error: required key "Name" not found /home/elm/.kde/share/mimelnk/application/x-kdeuser5.desktop: warning: file specifies "Type=MimeType", usage of the "MimeType" value for "Type" is not recommended, since it has been deprecated /home/elm/.kde/share/mimelnk/application/x-kdeuser5.desktop: warning: file contains key "Patterns", usage of this key is not recommended, since it has been deprecated > desktop-file-validate ~/.kde/share/mimelnk/application/x-kdeuser6.desktop /home/elm/.kde/share/mimelnk/application/x-kdeuser6.desktop: error: required key "Encoding" not found /home/elm/.kde/share/mimelnk/application/x-kdeuser6.desktop: error: required key "Name" not found /home/elm/.kde/share/mimelnk/application/x-kdeuser6.desktop: warning: file specifies "Type=MimeType", usage of the "MimeType" value for "Type" is not recommended, since it has been deprecated /home/elm/.kde/share/mimelnk/application/x-kdeuser6.desktop: warning: file contains key "Patterns", usage of this key is not recommended, since it has been deprecated
package: kdebase3-3.5.7-64.1, kde 3.5.7, release 64.1
I cannot reproduce this on ubuntu 8.04 with KDE / Konqueror version 4.0.3.
confirm on KDE 4.0.74 svn trunk r808533 (qt4.4 final)
I've tested this on KDE 4 (trunk, r809608). The program list for PDF is: kpdf ligature okular I've set the "remember option" for open a PDF with "okular". but after PDF are back opened with kpdf. I've tried to remove all associations from a PDF file, but settings are not remembered. I've tried to associate PDF to mplayer, both dolphin and konqueror crashed without any backtrace. File association need to be improved :-)
One year later the situation has been improved a lot and now konqueror uses the right application