Bug 389141 - plasmoids won't stay put after monitors off for a few hours (live-git regression I believe only a few days old)
Summary: plasmoids won't stay put after monitors off for a few hours (live-git regress...
Status: RESOLVED DUPLICATE of bug 413645
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop Containment (show other bugs)
Version: master
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-18 07:23 UTC by Duncan
Modified: 2021-03-11 19:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2018-01-18 07:23:44 UTC
Live-git of frameworks/apps/plasma (tho not kdelibs4, still around to run superkaramba since there's no known non-coder plasma5 alternative to it and I've not had time to test and configure a non-kde alternative), built from the gentoo/kde overlay live-build ebuilds.

I frequently sleep with a multi-hour rain video playing, turning off the monitors.

A couple days ago I did that, and when I turned the monitors on when I woke up, the plasmoids had repositioned themselves, with two (of three) on top of each other in the center of the monitor, and one centered vertically but hard-left.

Just shutting the monitors off for a couple minutes doesn't seem to duplicate the issue, but I had it happen again last nite (monitors off but no video playing this time, to see if it would trigger again), so it seems duplicable if I leave the monitors off for long enough... over nite or so.

I do have two monitors and the plasmoids did stay on the correct one, just repositioned from where they were supposed to be.  I only have the one activity, however, so don't know if it would have affected other activities.  The single configured panel appears unaffected.

The frustrating thing is that despite my having widgets locked, restarting plasmashell left them repositioned, so their new location is being written to what /was/ the working just fine rc file, and I have to manually unlock widgets to reposition them back where they belong.

This is, unfortunately, giving me flashbacks to plasma4 bug 321781 (filed against the beta where it first appeared and should have been easy to trace, unfortunately without dev comment until far later when it was far harder to trace, so never fixed, hopefully this one fairs better), which I ended up coping with by setting the affected config files read-only so they wouldn't be overwritten and I could restart plasma-desktop, now plasmashell, and get my setting sback.


I'm going to try to bisect this one, but may end up trying the same read-only config file and restarting plasmashell trick.  (I already have a hotkey for it... along with others to restart kwin, krunner, sni-proxy, etc.  A bit like replacing critical parts of a plane in mid-air, but I must say it works surprisingly well most of the time!)

I can try uninstalling kscreen as well.  I've had problems with it screwing up my perfectly satisfactory xorg.conf configuration in the past and had it uninstalled for awhile to prevent that, but it's installed again now, and things had been fine for months until this bug showed up, apparently within the last week or so.

More information to follow once I try bisecting and/or without kscreen, but I decided I better file this now, or I might not end up filing it at all.
Comment 1 Duncan 2018-01-20 09:59:14 UTC
Removing kscreen and libkscreen didn't help.

I'm testing a read-only plasma-org.kde.plasma.desktop-appletsrc next.  I suspect  (based on using the technique in plasma4 with the previously mentioned bug) the plasmoids will still move out of place, but hopefully the new place won't be saved so at least a simple plasmashell restart will get them back in place.

Another possibility I thought of, I'm running kernel 4.15-rc8+ (live-git just like my kde stuff), and it seems the drm changed a bit this cycle.  Now when I start X or after several hours with the monitors off, I get kernel-drm log entries when I turn the monitors back on.  Those are new with 4.15, so it's possible they're triggering the new plasmashell behavior as well.  If so and plasmashell behavior isn't changed, get ready for more bug filings when it releases and especially when distros start shipping it.  Something else I need to test...
Comment 2 Duncan 2018-01-21 16:05:45 UTC
As suspected, setting ...plasma.desktop-appletsrc read-only resulted in the bug still occurring but in live memory only, so restarting plasmashell got me back a desktop with the plasmoids at their configured locations.

So at least I know how to keep the screwed up locations from saving now and I can easily get back to the properly configured layout. =:^)
Comment 3 Duncan 2018-05-06 05:38:07 UTC
This is almost certainly a dup of bug #393881 .  That's a later bug but it has screenshots and a cleaner description, so I'm making this one a dup of it.

*** This bug has been marked as a duplicate of bug 393881 ***
Comment 4 Nate Graham 2021-03-11 19:01:35 UTC

*** This bug has been marked as a duplicate of bug 413645 ***