https://bugs.kde.org/show_bug.cgi?id=365606
--- Comment #10 from Ivan Čukić <ivan.cu...@kde.org> --- After the first problematic part (the above one which is now fixed), the second problem is that sometimes insertActivity is called before activityAdded and sometimes after. insertActivity is called be the script engine, and activityAdded when the activity manager notifies plasma of the new activity that has been created. The fun thing is that this is not the core of the problem. Even when the order is forced, something is wrong - the script returns 0 for the number of desktops sometimes or most of the time. -- You are receiving this mail because: You are watching all bug changes.