Bug 480931

Summary: Power menu only shows an option to log out on postmarketOS Plasma Mobile nightly
Product: [Plasma] plasma-mobile Reporter: Prajna Sariputra <putr4.s>
Component: generalAssignee: Plasma Mobile Bugs <plasma-mobile-bugs-null>
Status: RESOLVED MOVED    
Severity: normal CC: carl, espidev, nate
Priority: NOR Keywords: qt6
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: postmarketOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Prajna Sariputra 2024-02-06 04:20:08 UTC
SUMMARY
After installing the latest pmOS Plasma Mobile edge image into a microSD card, setting up the nightly repo and then upgrading, the power menu (both when accessed via quick settings and by holding the power button) now only shows an option to log out or cancel, so powering off or rebooting appears to longer be possible via the GUI.

I assume this is due to https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3823, which changed the logout greeter to only show the action initially selected by the user instead of always showing all the options and just preselecting one of them.


STEPS TO REPRODUCE
1. Set up postmarketOS edge (I did this on a PinePhone)
2. Upgrade to Plasma Mobile nightly packages as per https://wiki.postmarketos.org/wiki/Nightly
3. Try to reboot or shut down the device

OBSERVED RESULT
The shut down and reboot options are missing in the power menu.

EXPECTED RESULT
The shut down and reboot options should still be available in the power menu.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Comment 1 Devin Lin 2024-02-06 04:23:42 UTC
Thanks for the report, tracking on gitlab now: https://invent.kde.org/plasma/plasma-mobile/-/issues/304