Bug 472780

Summary: Menu item to open KCM remains visible when Discover is deliberately built without its KCM.
Product: [Applications] Discover Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.27.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://discuss.kde.org/t/opening-update-kcm-from-discover-shows-blank-page-in-plasma-systemsettings/3149/3?u=rokejulianlockhart
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Step 1
Step 2 (result)

Description Roke Julian Lockhart Beedell 2023-07-29 18:59:06 UTC
SUMMARY
The title.

STEPS TO REPRODUCE
1. Invoke Discover
2. Navigate to Settings
3. Invoke "Configure Updates..."

OBSERVED RESULT
https://discuss-cdn.kde.org/uploads/default/original/2X/f/f624ba42ceed44a90d3108f7754120240b0708af.png

EXPECTED RESULT
Presumably https://forum.manjaro.org/t/software-update-section-in-manjaro-kde-system-settings/77082?u=beedellrokejulianloc

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230724
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.4-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: llvmpipe

ADDITIONAL INFORMATION
This also affect(s/ed) Manjaro and Acrh, per https://forum.manjaro.org/t/software-update-section-in-manjaro-kde-system-settings/77082/6?u=beedellrokejulianloc
Comment 1 Roke Julian Lockhart Beedell 2023-07-29 19:07:04 UTC
*Arch
Comment 4 Nate Graham 2023-07-30 22:47:35 UTC
Normally I'd say this is a distro bug, but since we do officially support not building the KCM via the WITH_KCM CMake flag, then I guess that means we officially support this, so we should also use that CMake flag to determine the visibility of the menu item to take the user to the KCM.