Summary: | Text back end: Cannot copy when a line is broken at / | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Christopher Yeleighton <giecrilj> |
Component: | New backend wishes | Assignee: | Okular developers <okular-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aacid |
Priority: | NOR | ||
Version: | 21.12.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | A desktop file with a long line broken at a hyphen |
Description
Christopher Yeleighton
2021-12-16 21:57:54 UTC
please attach such a file Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! Created attachment 147845 [details]
A desktop file with a long line broken at a hyphen
Select the line Exec=/opt/google/chrome-beta/google-chrome-beta --profile-directory=Default --app-id=abnfpfhjmipcnaibcolbacfhgfcmjjbn
(the line is broken on a hyphen after --app-)
Paste
Exec=/opt/google/chrome-beta/google-chrome-beta --profile-directory=Default --app
id=abnfpfhjmipcnaibcolbacfhgfcmjjbn
The hyphen disappeared
Ah, sure, that is on purpose. On normal world, a hyphen in the middle of a word at the end of the line just means that the word is hyphenated and thus you don't want it when copy&pasting. But I can see that this is not wanted in some weird cases like this one. Impossible to fix though. (In reply to Albert Astals Cid from comment #5) > Ah, sure, that is on purpose. > > On normal world, a hyphen in the middle of a word at the end of the line > just means that the word is hyphenated and thus you don't want it when > copy&pasting. WUT? I never asked for tell-tale to become tell tale!? Also, the same happens to / (like in a path, which commonly occurs in logs), and the path gets broken on copy. |