| Summary: | kcm_landingpage doesn't disable feedback control if built without kuserfeedback | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Fabian Vogt <fabian> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, nate, notmart |
| Priority: | VHI | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/bcc7219b2def5a607466bdea966b49e754ffdb40 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Fabian Vogt
2021-05-14 20:24:59 UTC
A weird thing is that since as FeedbackControls.qml does import org.kde.userfeedback 1.0 which in theory should make the loader fail, instead there FeedbackControls seems to correcly load, so the userfeedback framework seems installed, or at least a part of it. I'll add one more condition in the loader to make sure the file isn't loaded at all. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/484 (In reply to Marco Martin from comment #1) > A weird thing is that since as FeedbackControls.qml does import > org.kde.userfeedback 1.0 > which in theory should make the loader fail, instead there FeedbackControls > seems to correcly load, so the userfeedback framework seems installed, or at > least a part of it. Yep, it's just disabled at build time. > I'll add one more condition in the loader to make sure the file isn't loaded > at all. Git commit bcc7219b2def5a607466bdea966b49e754ffdb40 by Marco Martin. Committed on 19/05/2021 at 08:53. Pushed by mart into branch 'master'. don't attempt to load FeebackControls if disabled If user feedback is disabled at build time feedbackEnabled property won't be present at all, so use that to inhibit completely the Loader for Feedbackcontrols.qml M +1 -0 kcms/landingpage/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/bcc7219b2def5a607466bdea966b49e754ffdb40 |