https://bugs.kde.org/show_bug.cgi?id=356972
Bug ID: 356972 Summary: Cannot write a custom icon for a (perhaps new) mimetype Product: frameworks-kiconthemes Version: unspecified Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: cf...@kde.org Reporter: lftab...@yahoo.es CC: kdelibs-b...@kde.org If the folder .local/share/mime or .local/share/mime/packages does not exists, the user cannot choose icon Reproducible: Always Steps to Reproduce: 1. Start with a new user and empty directory 2. Try to choose a custom icon for a mimetype, application-x-dvi through the select icon dialog. Actual Results: The is no visible change. Restarting/deleting the icon cache has no effect. One gets the error: """ m_userSpecifiedIcon has changed. Now set to "aapplication-x-dvi" m_userSpecifiedIcon has changed. Now set to "aapplication-x-dvi" writing "/home/luisfe/.local/share/mime/packages/application-x-dvi.xml" Couldn't open "/home/luisfe/.local/share/mime/packages/application-x-dvi.xml" for writing """ Expected Results: The chosen icon is shown The obvious workaround is to create the folders .local/share/mime .local/share/mime/packages After doing this the icon can be set. So the code needs to create these directories if they do not exist. -- You are receiving this mail because: You are watching all bug changes.