Bug 463725

Summary: Empty 'Firmware' section
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_smserverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.27
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2023-01-02 13:17:13 UTC
Created attachment 154953 [details]
screenshot

In Nate's blog there is a screenshot showing the 'After next restart: Enter UEFI setup screen',
but on my laptop such option does not exist. My laptop works in BIOS legacy mode, if it matters.
Please see the attached screenshot.

link to the article in Nate's blog where you can see the mentioned screenshot:
https://pointieststick.com/2022/12/30/this-week-in-kde-end-of-year-goodies/


STEPS TO REPRODUCE
1. open Desktop Session KCM
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT
always shows 'After next restart: Enter UEFI setup screen'  option when supported, and hide 'Firmware' section when said option is not supported.


Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.7
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-01-06 22:01:38 UTC
Not all firmware setups support this, so the option isn't always there. Looks like I need to make the header's visibility take that into account.
Comment 2 Nate Graham 2023-01-06 22:03:10 UTC
Git commit 4e79c0e97fe7a6671339e8f6546df01ffd3139e6 by Nate Graham.
Committed on 06/01/2023 at 22:02.
Pushed by ngraham into branch 'master'.

kcms/smserver: don't show Firmware header when its group would be empty
FIXED-IN: 5.27

M  +1    -0    kcms/ksmserver/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/4e79c0e97fe7a6671339e8f6546df01ffd3139e6