Bug 468424

Summary: Input field to rename files only shows a single line when the text has multiple lines due to line breaks
Product: [Applications] dolphin Reporter: postix <postix>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description postix 2023-04-12 14:52:51 UTC
STEPS TO REPRODUCE
1. Copy the following text to the clipboard:
ABC
DEF
GEF.txt

2. Create a new file in Dolphin and paste the text into it
3. Rename the file again by hitting F2

OBSERVED RESULT
At step 2. after pasting the text with line breaks, the input field has multiple lines, which makes it easy to work with the pasted text. 
At step 3. the input field for the renaming only shows a single line and only single line at once of the multi line text.

EXPECTED RESULT
It would be useful if the rename input field showed always all lines.
It would also be useful if it asked to replace the line breaks with spaces.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230411
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8
Kernel Version: 6.2.9-1-default (64-bit)
Graphics Platform: Wayland