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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |36e0d2dd4198b7948adfb55d82c
                   |                            |96852bba167de
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |6.2

--- Comment #3 from Nate Graham <n...@kde.org> ---
Git commit 36e0d2dd4198b7948adfb55d82c96852bba167de by Nate Graham, on behalf
of Christoph Wolk.
Committed on 16/09/2024 at 12:14.
Pushed by ngraham into branch 'master'.

containments/desktop: fix single-click to rename

FolderView has a feature that allows the user to single-click the label
of an already selected item to trigger renaming that item (given a
particular combination of settings), mirroring similar functionality in
Dolphin. This is, again as in Dolphin, supposed to not apply to cases
where the label is double-clicked, which should open the double-clicked
file. However, the detection of double-clicks does not work: it relies
on the doubleClickInProgress property, which is set later in the event
handler (and never reached in this case as the handler returns early),
and so is almost always false (unless the clicked element changes mid-
double-click).

This change modifies the event handling logic to instead use the regular
logic to wait for a double-click, and triggers the renaming function
from the timer if applicable.
FIXED-IN: 6.2

M  +9    -7    containments/desktop/package/contents/ui/FolderView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/36e0d2dd4198b7948adfb55d82c96852bba167de

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

Reply via email to