https://bugs.kde.org/show_bug.cgi?id=365606
Bug ID: 365606 Summary: createActivity in plasma script unreliable Product: kactivitymanagerd Version: 5.7.0 Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: ivan.cu...@kde.org Reporter: fab...@ritter-vogt.de CC: plasma-b...@kde.org The default plasma startup script (https://github.com/KDE/plasma-desktop/blob/master/desktoppackage/contents/layout.js) creates an activity called "Desktop", but that does only appear sometimes in the activity switcher and desktopsForActivity(id) for that id also returns 0 in that case. Adding while(desktopsForActivity(id).length == 0) sleep(10); does not make it work, so it's not a race condition in the script itself. As a result, customizations in that script, like https://build.opensuse.org/package/view_file/openSUSE:Leap:42.1:Update/plasma5-openSUSE/plasma-change-defaults.diff?expand=1 do not work as expected, as they only touch the newly created activity. This customization, for instance, adds a folderview widget, but on Plasma 5.7.0 it does not appear after logging in. This does not seem to be broken in Plasma < 5.7.0. Reproducible: Sometimes -- You are receiving this mail because: You are watching all bug changes.