[PATCH] Show single-click selection emblem when using single-click mouse mode
authorAkseli Lahtinen <akselmo@akselmo.dev>
Wed, 9 Apr 2025 07:57:20 +0000 (07:57 +0000)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 8 Jun 2025 12:42:29 +0000 (14:42 +0200)
commitd3faa3f9ae7e7dc944768e5e77755d14be44fa1e
tree193ed1a064b250e617067ab3e6058df7c8fee542
parent33916fd7c813f83c803d45b9ed34cf2edd1a012e
[PATCH] Show single-click selection emblem when using single-click mouse mode

In open/save dialog, we had no way to select items when using single-click mouse mode. (Except holding down control key).

This adds the same emblem that Dolphin uses for its selections.

It is shown in both treeviews and listviews, but only when single-click mode is active and the filewidget allows selecting multiple items.

BUG: 185793
FIXED-IN: 6.14

Gbp-Pq: Name upstream_d8441b7b_Show-single-click-selection-emblem-when-using-single-click-mouse-mode.patch
src/filewidgets/CMakeLists.txt
src/filewidgets/kdiroperator.cpp
src/filewidgets/kdiroperatordetailview.cpp
src/filewidgets/kdiroperatordetailview_p.h
src/filewidgets/kdiroperatoriconview.cpp
src/filewidgets/kdiroperatoriconview_p.h
src/filewidgets/kfileitemselectionemblem.cpp [new file with mode: 0644]
src/filewidgets/kfileitemselectionemblem.h [new file with mode: 0644]
src/widgets/kfileitemdelegate.cpp
src/widgets/kfileitemdelegate.h