Bug 471096

Summary: Icons on desktop inappropriately have the selection marker when using double-click
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Desktop icons & Folder View widgetAssignee: Nate Graham <nate>
Status: RESOLVED FIXED    
Severity: minor CC: hein, nate
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
screenshot of desktop configuration dialog

Description Patrick Silva 2023-06-15 22:22:38 UTC
Created attachment 159703 [details]
screenshot

STEPS TO REPRODUCE
1. hover over any icon on desktop
2. 
3. 

OBSERVED RESULT
the selection marker overlaps the icon on desktop. Please see the attached screenshot.

EXPECTED RESULT
no selection marker

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.1
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-06-21 06:56:17 UTC
That's actually the way it's supposed to be. Some questions:

1. Are you using double-click?
2. In the desktop configuration dialog > Icons, is "When hovering over icons: Show selection markers" checked?
Comment 2 Patrick Silva 2023-06-21 13:07:31 UTC
Created attachment 159809 [details]
screenshot of desktop configuration dialog

Yes, I use double-click. As you can see in the screenshot attached to this comment, "Show selection markers" option is not available on my system.
Comment 3 Bug Janitor Service 2023-07-06 03:45:20 UTC Comment hidden (spam)
Comment 4 Nate Graham 2023-07-16 07:28:35 UTC
Git commit 968f4043ae4a53e83ab41d502d69e37a759af230 by Nate Graham.
Committed on 16/07/2023 at 07:22.
Pushed by ngraham into branch 'master'.

Folder View: fix selection Marker visibility criteria

Broken in d5abf12d6661f2a8f8449d9abe88468114a73dca, which was checking
for main.GridView.view.isRootView when it should have been
root.useListViewMode (as the code comment suggests).

M  +1    -1    containments/desktop/package/contents/ui/FolderItemDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/968f4043ae4a53e83ab41d502d69e37a759af230