Summary: | Dolphin Kleopatra actions display with "&&" rather than "&" | ||
---|---|---|---|
Product: | [Applications] kleopatra | Reporter: | John Veness <john.kde> |
Component: | general | Assignee: | Andre Heinecke <aheinecke> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdepim-bugs, kloecker, mutz |
Priority: | NOR | ||
Version First Reported In: | 3.2.0.240502 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/kleopatra/-/commit/bb1d94c0b25cae19cfd224074d5dc170933a02fc | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Dolphin Kleopatra actions |
Description
John Veness
2024-08-13 14:44:44 UTC
I'm seeing the same. Curiously, the Dolphin action for files reads "Sign & Encrypt File" with a single ampersand. As far as I can tell, the displayed text comes from kleopatra_signencryptfolders.desktop which contains double &&, whereas kleopatra_signencryptfiles.desktop contains single &. I would submit an MR, but I'm just wondering if there's a reason it's like this. Git commit bb1d94c0b25cae19cfd224074d5dc170933a02fc by Ingo Klöcker, on behalf of Ingo Klöcker. Committed on 16/10/2024 at 21:09. Pushed by kloecker into branch 'master'. Fix double-& in desktop action names for folder actions The double-& were added in 2011 with comment "Avoid ampersand being used for an accelerator". I guess this misinterpretation of a single & has been fixed in the meantime. The "Sign & Encrypt File" action also has just a single & and this doesn't confuse Dolphin when it shows accelerators on pressing Alt. The deskop file specification also doesn't say anything about & in the Name entry. M +2 -2 src/data/kleopatra_signencryptfolders.desktop https://invent.kde.org/pim/kleopatra/-/commit/bb1d94c0b25cae19cfd224074d5dc170933a02fc Thanks for reporting this issue and for offering to submit an MR! No worries, thanks for digging into this and fixing quickly! Out of interest, I notice some of the translations have also copied the && form. Is this something that could/should be fixed in the source? |