Summary: | Pre-fill name field with filename extension for images created using pasted clipboard contents | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Justin Zobel <justin> |
Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kdelibs-bugs-null, kfm-devel, nate |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/6f3fcd48207abd73e7de880327d405373e17ac5b | Version Fixed In: | 6.13 |
Sentry Crash Report: |
Description
Justin Zobel
2025-01-31 00:17:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1819 Git commit 026da8e38deadda3d7e6cd7cb056c6dc1ce953a8 by Méven Car, on behalf of Nate Graham. Committed on 18/03/2025 at 10:02. Pushed by meven into branch 'kio-fancy-paste-mime-handling'. PasteDialog: make MIME type handling fancier If the default MIME type is valid, pre-fill the text field with the appropriate filename extension and move the cursor before it (allowing the user to start typing or replace the suggestion immediately, without impacting the extension). When the user changes the MIME type using the combobox, change the file extension in the text field if possible. To facilitate this, pre-existing code to generate fancy combobox labels was moved into the private component so that it could easily access the raw strings used to generate them. FIXED-IN: 6.13 M +1 -15 src/widgets/paste.cpp M +57 -2 src/widgets/pastedialog.cpp M +2 -1 src/widgets/pastedialog_p.h https://invent.kde.org/frameworks/kio/-/commit/026da8e38deadda3d7e6cd7cb056c6dc1ce953a8 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1841 Git commit 6f3fcd48207abd73e7de880327d405373e17ac5b by Méven Car, on behalf of Nate Graham. Committed on 28/03/2025 at 08:44. Pushed by meven into branch 'master'. PasteDialog: make MIME type handling fancier If the default MIME type is valid, pre-fill the text field with the appropriate filename extension and move the cursor before it (allowing the user to start typing or replace the suggestion immediately, without impacting the extension). When the user changes the MIME type using the combobox, change the file extension in the text field if possible. To facilitate this, pre-existing code to generate fancy combobox labels was moved into the private component so that it could easily access the raw strings used to generate them. FIXED-IN: 6.13 M +1 -15 src/widgets/paste.cpp M +57 -2 src/widgets/pastedialog.cpp M +2 -1 src/widgets/pastedialog_p.h https://invent.kde.org/frameworks/kio/-/commit/6f3fcd48207abd73e7de880327d405373e17ac5b |