Bug 474537 - Add option to start with most activities closed
Summary: Add option to start with most activities closed
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activities in general (other bugs)
Version First Reported In: 5.27.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-15 07:50 UTC by Andreas
Modified: 2025-05-07 20:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2023-09-15 07:50:44 UTC
SUMMARY
Add an option to kactivitymanager closing all activities except for the Default activity and expose it in the KDE settings.
That could perhaps also be achieved with a separate application using dbus (but not sure if that would happen early enough during KDE startup) or a hack which edits the configuration in kactivitymanagerdrc .

MORE INFORMATION
I am using KDE activities extensively. There is essentially one for each project I am working on. The most significant issue I am having with it is that it will behave really badly when KDE crashes or I restart KDE without remembering the open activities. This is because after the crash kactivitymanager will attempt to open all previously opened activities with all the associated applications. This can fail badly if for instance at login the resources from which files where loaded are not available yet (e.g. external media, crypto containers). In this case you get a lot of error messages which is very annoying and implies that you loose the open windows. My workaround is to edit ~/.config/kactivitymanagerdrc on a shell before logging into KDE, but that is quite tedious as well and I tend to forget it.
Comment 1 Nate Graham 2025-05-07 20:23:31 UTC
In general we should fix bugs, rather than implementing workarounds for our bugs!

The feature to stop and start Activities is being removed for Plasma 6.5 anyway, so I don't think we'll be implemented this feature, sorry. If you do have any more issues with activities, please feel free to report them as bugs. Thanks a lot!