Bug 458768 - <placeholder> tags surround the text in brackets, which is slightly misleading regarding what the actual placeholder text is
Summary: <placeholder> tags surround the text in brackets, which is slightly misleadin...
Status: CONFIRMED
Alias: None
Product: frameworks-ki18n
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.97.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Chusslove Illich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-06 00:29 UTC by iodreamify
Modified: 2022-09-09 03:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (775.80 KB, image/bmp)
2022-09-06 00:29 UTC, iodreamify
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iodreamify 2022-09-06 00:29:03 UTC
Created attachment 151858 [details]
screenshot

SUMMARY
The text explaining what arguments may be used in the clipboard actions command line is somewhat misleading to the user. A user may think they're supposed to use <%s> with the angled brackets included while only %s is needed and the command will fail otherwise. 

I've seen this confuse at least one person. Is there a reason angled brackets are used here and not simply the string that needs to be inserted? As far as i can tell, similar windows in other environments just simply use the argument directly. example: http://i.imgur.com/qliSSE1.png 

Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Comment 1 Nate Graham 2022-09-09 03:50:03 UTC
I would tend to agree.

After a bit of investigation, it appears that the brackets are added by KUIT formatting when wrapping something in <placeholder> tags; those tags become brackets. This should be fixed generically in KLocalizedString.