Bug 469148 - "Application-specific settings" page can't be accessed in Plasma 6
Summary: "Application-specific settings" page can't be accessed in Plasma 6
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_notify (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-04-29 16:46 UTC by Nate Graham
Modified: 2023-05-06 15:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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