Bug 508315 - New Folder dialog: newline character is not accurately shown
Summary: New Folder dialog: newline character is not accurately shown
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-15 23:10 UTC by Daniel Cleaver
Modified: 2025-08-15 23:10 UTC (History)
1 user (show)

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


Attachments
demonstration (from 0:00-0:18 specifically) (1.92 MB, video/webm)
2025-08-15 23:10 UTC, Daniel Cleaver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Cleaver 2025-08-15 23:10:41 UTC
Created attachment 184123 [details]
demonstration (from 0:00-0:18 specifically)

SUMMARY
The Create New Folder dialog does not accurately show what the name of the file is actually going to be.

STEPS TO REPRODUCE
1. Copy some text that contains a newline.
2. In dolphin, create a new folder with this text as the name.

OBSERVED RESULT
In the Create New Folder dialog, the newline is replaced with a space. However, in the normal view of dolphin, the newline is replaced with a symbolic "return" character.

EXPECTED RESULT
For the Create New Folder dialog to accurately show what the name of the file is actually going to be.

I'm not sure whether dolphin has figured out whether it deems newlines in filenames to be acceptable, and I don't really have an opinion on that. My user experience for this is that I wanted to remove the newline and replace it with a space, and that appeared to be done automatically in the Create New Folder dialog. However, that was not the case and it was a misleading UI interaction.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.9-201.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-12400F
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D43
System Version: 1.0