Bug 519620

Summary: Auto-Mount causes power controls to disappear after reboot
Product: [Plasma] plasmashell Reporter: Philip Blair <kdebugtracker.lingo048>
Component: Application Launcher (Kickoff) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdebugtracker.lingo048, mikel5764, nicolas.fella, noahadvs
Priority: NOR    
Version First Reported In: 6.6.4   
Target Milestone: 1.0   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Philip Blair 2026-04-30 18:00:03 UTC
SUMMARY
Using System Settings to auto-mount an internal NTFS partition causes the "Sleep", "Restart", and "Shut Down" buttons to disappear from the Application Launcher. The buttons will be missing after a reboot, but they will come back after logging out and back in again. Rebooting will cause them to disappear again.

This behavior was observed on a system that has a secondary SSD containing a Windows installation. The steps to reproduce include exactly how I'm mounting the partition.

STEPS TO REPRODUCE
1. Add the current user to the "storage" group: `sudo gpasswd -a $USER storage`
2. Create a polkit rule to allow your user to mount the partition.
Path: /etc/polkit-1/rules.d/allow-mount-internal.rules
```
polkit.addRule(function(action, subject) {
    try {
        if (action.id == "org.freedesktop.udisks2.filesystem-mount-system"
            && subject.isInGroup("storage")
            && subject.local
            && subject.active)
        {
            return polkit.Result.YES;
        }
    } catch (e) {
        // Don't break polkit
    }
});
```
3. Navigate to System Settings > Disks & Cameras > Device Auto-Mount. Under Attached Devices > Basic data partition, check the box for "On Login" and Apply the settings.
4. Reboot and log in.

OBSERVED RESULT
The "Sleep", "Restart", and "Shut Down" buttons are missing from the Application Launcher.

EXPECTED RESULT
The "Sleep", "Restart", and "Shut Down" buttons are present in the Application Launcher.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0
Kernel Version: 6.19.14-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
When the power controls are missing: there are no issues suspending or shutting down from the command line, there are no errors in the logs, and the selected partition is successfully auto-mounted on login.
Comment 1 Nicolas Fella 2026-04-30 18:46:09 UTC

*** This bug has been marked as a duplicate of bug 518174 ***
Comment 2 Philip Blair 2026-05-18 19:07:10 UTC
Confirmed fixed in Plasma 6.6.5