Bug 469148

Summary: "Application-specific settings" page can't be accessed in Plasma 6
Product: [Applications] systemsettings Reporter: Nate Graham <nate>
Component: kcm_notifyAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, nicolas.fella, plasma-bugs-null
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2023-04-29 16:46:46 UTC
Clicking on the "Configure" button that normally pushes that page doesn't, and the following console output is seen instead:

Requested resource "/kcm/kcm_notifications/SourcesPage.qml" does not exist
QQmlComponent: Component is not ready
"qrc:/kcm/kcm_notifications/SourcesPage.qml" 
 "Error loading QML file.\nNo such file or directory\n"
QCoreApplication::postEvent: Unexpected null receiver
Comment 1 Nate Graham 2023-04-29 16:50:34 UTC
Seems like maybe it's kcm.push in general that's broken; the same issue is also seen on the audio volume page.
Comment 2 Nicolas Fella 2023-04-29 20:22:29 UTC
Regression from https://invent.kde.org/frameworks/kcmutils/-/merge_requests/133
Comment 3 Alexander Lohnau 2023-04-30 05:22:19 UTC
This is only waiting for a re-review on the porting MR https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2875.
With that applied, it works as expected.
Comment 4 Alexander Lohnau 2023-05-06 15:10:24 UTC
Git commit 02e2f12ed2f5c4dc548d7e75d645cbc32c9f91ba by Alexander Lohnau.
Committed on 06/05/2023 at 13:43.
Pushed by ngraham into branch 'master'.

Port to kcmutils_add_qml_module

This generated a qrc end embeds it in the plugin.
The latter approach is only for compatibility now and will be removed.

M  +1    -5    src/kcm/CMakeLists.txt
D  +0    -5    src/kcm/resources.qrc
R  +0    -0    src/kcm/ui/CardListItem.qml [from: src/kcm/package/contents/ui/CardListItem.qml - 100% similarity]
R  +0    -0    src/kcm/ui/DeviceComboBox.qml [from: src/kcm/package/contents/ui/DeviceComboBox.qml - 100% similarity]
R  +0    -0    src/kcm/ui/DeviceListItem.qml [from: src/kcm/package/contents/ui/DeviceListItem.qml - 100% similarity]
R  +1    -1    src/kcm/ui/MuteButton.qml [from: src/kcm/package/contents/ui/MuteButton.qml - 095% similarity]
R  +0    -0    src/kcm/ui/StreamListItem.qml [from: src/kcm/package/contents/ui/StreamListItem.qml - 100% similarity]
R  +0    -0    src/kcm/ui/VolumeControlsConfig.qml [from: src/kcm/package/contents/ui/VolumeControlsConfig.qml - 100% similarity]
R  +0    -0    src/kcm/ui/VolumeSlider.qml [from: src/kcm/package/contents/ui/VolumeSlider.qml - 100% similarity]
R  +0    -0    src/kcm/ui/icon.js [from: src/kcm/package/contents/code/icon.js - 100% similarity]
R  +0    -0    src/kcm/ui/icons/audio-speakers-symbolic.svg [from: src/kcm/icons/audio-speakers-symbolic.svg - 100% similarity]
R  +1    -1    src/kcm/ui/main.qml [from: src/kcm/package/contents/ui/main.qml - 099% similarity]

https://invent.kde.org/plasma/plasma-pa/commit/02e2f12ed2f5c4dc548d7e75d645cbc32c9f91ba