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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/4607991
                   |                            |faa82f1302ac88f70c972ec73fd
                   |                            |884d47
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Méven <[email protected]> ---
Git commit 4607991faa82f1302ac88f70c972ec73fd884d47 by Méven Car.
Committed on 12/08/2026 at 19:21.
Pushed by meven into branch 'master'.

kitemviews: Keep the name under edit when another window takes the focus

Renaming a file in place ends as soon as the editor loses the keyboard focus.
On a touchscreen the on-screen keyboard is a window of its own and it takes
that focus the moment it appears, so the rename ends before a single character
can be typed and there is no way to rename a file by touch at all.

The name now stays under edit while another window holds the focus, the way it
already does while a menu is open. Editing ends when the focus moves on to
something else in the same window, which is the user turning away from the
name. KSelectAction leaves an edited entry alone for the same two reasons.

M  +6    -1    src/kitemviews/private/kitemlistroleeditor.cpp
M  +5    -0    src/tests/CMakeLists.txt
A  +95   -0    src/tests/kitemlistroleeditortest.cpp     [License: GPL(v2.0+)]

https://invent.kde.org/system/dolphin/-/commit/4607991faa82f1302ac88f70c972ec73fd884d47

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to