[frameworks-kio] [Bug 499348] Pre-fill name field with filename extension for images created using pasted clipboard contents
Méven
bugzilla_noreply at kde.org
Tue Mar 18 13:21:31 GMT 2025
https://bugs.kde.org/show_bug.cgi?id=499348
Méven <meven at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |https://invent.kde.org/fram
| |eworks/kio/-/commit/026da8e
| |38deadda3d7e6cd7cb056c6dc1c
| |e953a8
Status|ASSIGNED |RESOLVED
Version Fixed In| |6.13
--- Comment #2 from Méven <meven at kde.org> ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list