Bug 448923 - Pasting text with a newline at the beginning will paste nothing into the filename field
Summary: Pasting text with a newline at the beginning will paste nothing into the file...
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: 5.86.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-21 20:29 UTC by Sam Dinner
Modified: 2022-04-19 12:01 UTC (History)
2 users (show)

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


Attachments
A text file that contains the text that will trigger the bug. (9 bytes, text/plain)
2022-01-21 20:29 UTC, Sam Dinner
Details
A recording of the bug occurring. (123.10 KB, video/mp4)
2022-01-21 20:29 UTC, Sam Dinner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Dinner 2022-01-21 20:29:07 UTC
Created attachment 145727 [details]
A text file that contains the text that will trigger the bug.

SUMMARY
Pasting text with a newline at the beginning will paste nothing into the filename field on save dialogs.

STEPS TO REPRODUCE
1. Copy the all text in the attached bug.txt file.
2. Paste it into the filename field.

OBSERVED RESULT
The filename field is blank.

EXPECTED RESULT
The filename field should contain "filename".

SOFTWARE/OS VERSIONS
Linux: Ubuntu 21.10
KDE Plasma Version: 5.22.6
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I've attached a recording of the bug occurring.
Comment 1 Sam Dinner 2022-01-21 20:29:21 UTC
Created attachment 145728 [details]
A recording of the bug occurring.
Comment 2 Ahmad Samir 2022-04-19 12:01:51 UTC
This looks like the GTK file picker (because the KDE one has the Name: field at the bottom). So not our bug. :)