[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
Fri Mar 28 08:45:17 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=499348

Méven <meven at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/6f3fcd4
                   |                            |8207abd73e7de880327d405373e
                   |                            |17ac5b
   Version Fixed In|                            |6.13
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Méven <meven at kde.org> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list