KDE activities have a bug, when I reopen an activity that I stopped earlier which had more than one app open, it crashes and flickers

KDE activities have a bug, when I reopen an activity that I stopped earlier which had more than one app open, it crashes and flickers…sending me to the next remaining activity that’s running. Until I restart my PC, the closed activity will not open.

I’m using a Dell latitude 7200 2-in-1 i7 8th, 16GB RAM, running Fedora 40, and KDE 6.2

I can repro. I’m not sure since when - this has started, as it worked well before and I don’t often stop and resume activities - but now on 6.2 I can’t resume an activity that I stopped by mistake.

I have an activity that has been stopped for a long time and now I can’t resume it, so I’m not sure a restart will help.

I tried the ActivityManager D-Bus interface and I also can’t get this to work I restarted kactivitymanagerd to no avail, and there’s also nothing in the kactivitymanagerd log.

I managed to restore my stopped activity by:

  1. Stopping kactivitymanagerd: systemctl --user stop plasma-kactivitymanagerd.service
  2. Editing ~/.config/kactivitymanagerdrc and moving all activity UUIDs under runningActivities
  3. Starting kactivitymanagerd again: systemctl --user restart plasma-kactivitymanagerd.service
1 Like

I opened a ticket about this: 494936 – Cannot start stopped activities

Thanks for your prompt response. Does it resume your apps when you restore the activity with the said instructions? If not, then it defeats the purpose, because the idea behind stopping the activity is to save on some RAM until you can conveniently continue with the said activity. It only resumes the app when it’s only one app, but won’t start the activity when it’s more than one app open.

In my test, stopping the activity did not stop the processes in that activity - I just lost access to their running windows. After resetting kactivitymanagerd configuration, the application windows were accessible again.

I have never used stopping an activity as a way to stop applications, so I don’t know if it ever worked, but I expect that not working to be part of the Wayland session restore problem.

Oh I see. I appreciate you brother