Bug 514954 - Ending an item's renaming process by selecting another item causes a glitched rubberband selection to appear
Summary: Ending an item's renaming process by selecting another item causes a glitched...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: 6.5.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2026-01-23 01:46 UTC by Fernando Marcelino Muniz
Modified: 2026-01-28 16:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.6.0
Sentry Crash Report:


Attachments
Issue on Plasma 6.5.5 (923.43 KB, video/mp4)
2026-01-23 01:46 UTC, Fernando Marcelino Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino Muniz 2026-01-23 01:46:19 UTC
Created attachment 188800 [details]
Issue on Plasma 6.5.5

STEPS TO REPRODUCE
1. Start a renaming process on an item.
2. Click on another item.

OBSERVED RESULT
The rubberband selection is active.

EXPECTED RESULT
The rubberband selection shouldn't be active.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.6-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
This is very similar to bug:
https://bugs.kde.org/show_bug.cgi?id=503127#c10
Comment 1 Akseli Lahtinen 2026-01-23 11:23:14 UTC
Can confirm the issue

Operating System: KDE Linux 2026-01-22
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.6-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 2 Bug Janitor Service 2026-01-28 12:53:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3492
Comment 3 Akseli Lahtinen 2026-01-28 15:19:58 UTC
Git commit aa71f04b0a9a239729461d7df4898835528bf10f by Akseli Lahtinen.
Committed on 28/01/2026 at 14:06.
Pushed by akselmo into branch 'master'.

FolderView: Clear press state onListingCompleted

When we reset the model, such as renaming a file, the view will be
relisted. Our current click action can be working on FileItemDelegates
that do not exist anymore, rendering them null, which causes confusion
in the click logic. This can happen when renaming a file, but clicking
on another file during the renaming process.

Also remove the redundant onEnabledChanged check for
clearingPressedState.

M  +5    -6    containments/desktop/package/contents/ui/FolderView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/aa71f04b0a9a239729461d7df4898835528bf10f
Comment 4 Akseli Lahtinen 2026-01-28 16:24:00 UTC
Git commit bea89335ff2edf718a937440dab546495de434bc by Akseli Lahtinen.
Committed on 28/01/2026 at 15:25.
Pushed by akselmo into branch 'Plasma/6.6'.

FolderView: Clear press state onListingCompleted

When we reset the model, such as renaming a file, the view will be
relisted. Our current click action can be working on FileItemDelegates
that do not exist anymore, rendering them null, which causes confusion
in the click logic. This can happen when renaming a file, but clicking
on another file during the renaming process.

Also remove the redundant onEnabledChanged check for
clearingPressedState.


(cherry picked from commit aa71f04b0a9a239729461d7df4898835528bf10f)

Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev>

M  +5    -6    containments/desktop/package/contents/ui/FolderView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/bea89335ff2edf718a937440dab546495de434bc