Bug 499067 - Selecting an icon on a different screen doesn't de-select the previous selection
Summary: Selecting an icon on a different screen doesn't de-select the previous selection
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: 6.2.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2025-01-23 18:45 UTC by geopapougr
Modified: 2025-08-11 14:32 UTC (History)
5 users (show)

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


Attachments
I can show two files being selected, in positions that shouldnt be possible to do so (2.46 MB, image/png)
2025-01-23 18:45 UTC, geopapougr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description geopapougr 2025-01-23 18:45:04 UTC
Created attachment 177630 [details]
I can show two files being selected, in positions that shouldnt be possible to do so

SUMMARY
While on the desktop view, the user can make it so that it appears as if they have selected multiple icons, across different screens.

STEPS TO REPRODUCE
1.  Have multiple monitors
2.  One screen1, select one icon by pressing the left click once
3.  Move the mouse across to screen2, and select a different icon, using the left click once.

OBSERVED RESULT
The icon you selected at screen1 appears to still be selected, but has lost "focus", while the icon on screen2 is fully selected.

EXPECTED RESULT
The icon on screen1 should lose focus, as soon as the icon on screen2 is clicked.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.2.5
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0-1
Qt Version: 5.15.16
Graphics Platform: Wayland
Kernel Version: Linux 6.12.10-arch1-1 x86_64

ADDITIONAL INFORMATION
Comment 1 geopapougr 2025-01-23 19:00:03 UTC
Adding to the bug report, the issue is more general that previously mentioned. The problem derives from the fact that screens are treated separately as to what icons can be selected at a given moment. Thus, not only do multiple icon selections *appear* at the same time but they *are* selected at the same time. To prove that point, the user can make one selection on each screen, move the mouse across screens, and access those selections with actions like drag-and-move, right-click and copy/cut/delete and any other action available to selected desktop icons, without losing the selection made of the other screen.
Comment 2 TraceyC 2025-01-27 22:52:29 UTC
I can easily replicate this on 6.2.5 and git-master
Also note - clicking one icon and then another on the same screen results in only one icon being selected, therefore the behavior is different with icons on different screens
Comment 3 Akseli Lahtinen 2025-08-11 10:24:51 UTC
This bug happens because each desktop is it's own folderview and they do not know each other, so they can't share the selection state.
Comment 4 Nate Graham 2025-08-11 14:32:13 UTC
It looks like unfortunately there isn't a clean way to fix this, so for the moment we have to mark it as intentional behavior, sorry.