Bug 412974 - Files whose names end with a line feed not handled properly
Summary: Files whose names end with a line feed not handled properly
Status: RESOLVED DUPLICATE of bug 452587
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.08.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-15 15:22 UTC by kde-bugs
Modified: 2023-10-12 03:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde-bugs 2019-10-15 15:22:51 UTC
If you want to rename such a file, you're presented with what looks like an empty file name. (You're presented with the file name if you press the left arrow button.) There is also incompatibility with plug ins. If you use the Nextcloud client, such files are neither shown as synced nor unsynced. The Nextcloud entry in the context menu doesn't work either.


STEPS TO REPRODUCE
1. Create a file whose name ends in a line feed (Unix newline character).
2. Rename it.

OBSERVED RESULT
Not much to observe.


EXPECTED RESULT
Printable characters being printed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 18.1, KDE Frameworks 5.62.0
Qt Version: Qt 5.13.1 (built against 5.13.1)
Comment 1 fanzhuyifan 2023-10-12 03:26:15 UTC
Marking this as a duplicate of 452587 since the other bug has more information.
This is a special case of 452587 where the name ends in the newline character.

*** This bug has been marked as a duplicate of bug 452587 ***