Summary: | KMail ignores file association for .pot, always opens in Libreoffice Impress | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Alexander Potashev <aspotashev> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.11.2 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | ktraderclient5 output |
Description
Alexander Potashev
2019-07-22 22:29:44 UTC
Nothing particularly wrong, org.kde.lokalize.desktop contains: MimeType=application/x-xliff;text/x-gettext-translation;application/x-lokalize-project; The mimetype for template files is x-gettext-translation-template. iow, lokalize doesn't support template files, only .po ones. Confirmed by looking for x-gettext-translation-template after running 'kcmshell5 filetypes' (In reply to Christophe Giboudeaux from comment #1) > Nothing particularly wrong, org.kde.lokalize.desktop contains: > > MimeType=application/x-xliff;text/x-gettext-translation;application/x- > lokalize-project; > > The mimetype for template files is x-gettext-translation-template. > > iow, lokalize doesn't support template files, only .po ones. > > Confirmed by looking for x-gettext-translation-template after running > 'kcmshell5 filetypes' You need to add x-gettext-translation-template manually, see Step 1 in "STEPS TO REPRODUCE". No issue in KMail if I choose Open With, select lokalize and check "remember application association..." lokalize is added to the list of suitable applications for template files and KMail suggests this application afterwards. In KMail settings, security tabs, then miscellaneous, I suggest clicking on the "re-enable all 'Do not ask again' warnings" (In reply to Christophe Giboudeaux from comment #3) > No issue in KMail if I choose Open With, select lokalize and check "remember > application association..." > > lokalize is added to the list of suitable applications for template files > and KMail suggests this application afterwards. I did the same: clicked "Open With", checked "remember application association". However KMail keeps suggesting LibreOffice Impress, even after I restarted KMail. Do you have LibreOffice Impress installed? Impress is installed, but is not in the list of applications supporting this mimetype (libreoffice writer appears). Let's try something else, please paste the output of 'ktraderclient5 --mimetype text/x-gettext-translation-template' Created attachment 121687 [details]
ktraderclient5 output
Still nothing wrong. Things you can try: - Quit KMail, rename the ~/.cache folder, run kbuildsycoca5 --noincremental, retry Another test: - Quit KMail, rename ~/.config/kmail2rc, retry |