[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug in Plasmashell : Plasmashell not remembering unsorted desktop icon positions on second external monitor/screen/display after switching it off and back on...



Dear Sirs,

Can you help me with following bug/problem:

The KDE Plasmashell not remembering unsorted desktop icon positions on second external monitor/screen/display after switching it off and back on...
... instead (after moving icons on top lines of first (primary) screen when 2nd screen is switched off) the icons are moved back to the first top lines of the 2nd screen and not on the positions they where before!


 "journalctl -r"       outputs:
--------------------------------------------------

=> when monitor switched off:

lines 1-51file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:121: TypeError: Cannot read property 'x' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:135: TypeError: Cannot read property 'y' of null
trying to show an empty dialog


=> when monitor switched on again:

file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:323:17: QML Label: Binding loop detected for property "width"

WORKAROUND:
--------------------------
1. copy/backup ~/.config/plasma-org.kde.plasma.desktop-appletsrc  BEFORE switching monitor off)
   e.g. "cp ~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/appletsrc-backup"
2. switch 2nd monitor off (and work with first (primary) monitor ..)
3. switch 2nd monitor back on (icons on 2nd monitor appear on first top lines, not in positions before) 
4. "killall plasmashell"
5. copy/overwrite ~/.config/plasma-org.kde.plasma.desktop-appletsrc with your backup
   e.g. "cp ~/appletsrc-backup ~/.config/plasma-org.kde.plasma.desktop-appletsrc"
6. kstart5 plasmashell
==> icons will move to original (correct) positions on 2nd monitor as before switching  it off!

This workaround is obviously very cumbersome and even a udev-rule won't work becasue plasmashell will be faster in saving the new (wrong) plasma-org.kde.plasma.desktop-appletsrc  (and overwriting the old (correct) one) than udev can copy the old one.... (and it would be a waste of resources, too).

The icons on the primary (1st) monitor (and the laptop screen) are rememebred correctly after switching these monitors off and on. its only the secondary external monitor that causes these issues.
I hop you can find the bug and solve it with the given info!


SOFTWARE/OS VERSIONS / SET-UP
---------------------------------------------------
Laptop with 2 external monitors (1 primary, 1 secondary) and a laptop monitor (secondary)
Linux Kernel 6.1.0, Debian 11, Desktop: KDE Plasma 5.20.5, WM: kwin_x11

output of "kf5-config --version":
Qt: 5.15.2
KDE Frameworks: 5.78.0
kf5-config: 1.0


Thanks!

Alex

Sent with Criptext secure email
Reply to: