| Summary: | Icons on primary screen's desktop containment do a phantom-move to newly-plugged-in secondary screen's desktop containment | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Nate Graham <nate> |
| Component: | Desktop icons & Folder View widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aleixpol, hein, kde, nicolas.fella, notmart |
| Priority: | NOR | Keywords: | multiscreen |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/87feb604763550306bcc5577045ee00fcb62a831 | Version Fixed/Implemented In: | 5.27 |
| Sentry Crash Report: | |||
|
Description
Nate Graham
2023-01-11 21:03:29 UTC
Other data points: - When I restart plasmashell to fix it, if I unplug the screen, and plug it in again, the icons move to the right screen again. But the next time I trigger the OSD and expend to the other side, this issue recurs. - When I restart plasmashell to fix the issue, the icons move back to the correct screen, but their custom arrangement is lost and they're arranged in the default alphabetical order. Nate mentioned in IM both containments are showing the same folder, which means it's the folderview itself using it's own screenmapping to decide what's on which screen. It's numerically index based, so it should all work with the new plasma behaviour...though clearly not quite. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1333 Git commit 87feb604763550306bcc5577045ee00fcb62a831 by David Edmundson. Committed on 13/01/2023 at 16:51. Pushed by davidedmundson into branch 'master'. Fix path skipping screen removal signal We might get screen removal signals and then a re-ordering from the backend or the other way round. In the event that we get the re-order first it's the intention to take this as the single source of truth and remove it from m_availableScreens. In this case we have to notify clients. It's important that this removal is signalled before we process a re-order. M +11 -7 shell/screenpool.cpp https://invent.kde.org/plasma/plasma-workspace/commit/87feb604763550306bcc5577045ee00fcb62a831 |