Bug 430522 - Ability do disable applications from autostarting without deleting their entries
Summary: Ability do disable applications from autostarting without deleting their entries
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_autostart (show other bugs)
Version: 5.20.4
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Nicolas Fella
URL:
Keywords:
Depends on:
Blocks: 274920
  Show dependency treegraph
 
Reported: 2020-12-18 02:49 UTC by Unknown
Modified: 2023-09-18 18:20 UTC (History)
4 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 Unknown 2020-12-18 02:49:05 UTC
SUMMARY
For Plasma 5.20 the Autostart KCM was rewritten - https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/31.

As part of this, the ability to disable certain applications from autostart was removed, and instead, you can only remove them entirely.

However, this creates an issue with applications (e.g. Microsoft Teams) that will recreate the autostart shortcut every launch, and do not allow you to turn that feature off in the app. These apps will need to be removed every start.

STEPS TO REPRODUCE
1. Open an app (e.g. Microsoft Teams) that creates an autostart shortcut
2. Remove it using the KCM
3. Open the app again, it gets added back

OBSERVED RESULT
App will again start on startup.

EXPECTED RESULT
App will never start on startup.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.9.14-arch1-1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530 

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2020-12-18 06:09:01 UTC

*** This bug has been marked as a duplicate of bug 427885 ***
Comment 2 Nicolas Fella 2020-12-18 06:09:53 UTC

*** This bug has been marked as a duplicate of bug 427855 ***
Comment 3 Nick Stefanov 2020-12-18 08:24:24 UTC
I don't know what was the purpose to remove it at all? Why make Plasma impotent deliberately?
Comment 4 Nate Graham 2023-07-25 15:59:27 UTC

*** This bug has been marked as a duplicate of bug 274920 ***
Comment 5 Riccardo Robecchi 2023-09-17 09:22:34 UTC
(In reply to Nate Graham from comment #4)
> 
> *** This bug has been marked as a duplicate of bug 274920 ***

This seems to be different, though. The bug this points to talks about system/distro-provided applications, this bug can be about any application, even those set by the user. Why there might be some overlap between the two, the ability to disable user-set applications was present before 5.20 and was taken away when the new KCM was implemented. I guess that the logic between the two cases is different, so it probably would be worth it to re-open this bug.
Comment 6 Nate Graham 2023-09-18 18:20:23 UTC
Ok, then let's track this separately as a blocker to Bug 274920, since what's being asked for here would needed to expose an appropriate UI to implement that's being requested in Bug 274920.