Bug 471096 - Icons on desktop inappropriately have the selection marker when using double-click
Summary: Icons on desktop inappropriately have the selection marker when using double-...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Nate Graham
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-06-15 22:22 UTC by Patrick Silva
Modified: 2023-07-16 07:28 UTC (History)
2 users (show)

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


Attachments
screenshot (651.57 KB, image/png)
2023-06-15 22:22 UTC, Patrick Silva
Details
screenshot of desktop configuration dialog (77.25 KB, image/png)
2023-06-21 13:07 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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