Summary: | Applets lost "configurationRequired" functionality in Plasma5 | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Friedrich W. H. Kossebau <kossebau> |
Component: | Containment | Assignee: | Sebastian Kügler <sebas> |
Status: | CONFIRMED --- | ||
Severity: | minor | CC: | bhush94, hein, justin.zobel, kde, plasma-bugs, simonandric5 |
Priority: | NOR | ||
Version: | 5.5.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Friedrich W. H. Kossebau
2016-02-28 22:47:44 UTC
The API is actually meant to be used imperatively, ie. you call plasmoid.setConfigurationRequired(true, i18n("reason")), I think there should be two distinct properties on the Plasmoid attached object however the actual code that is supposed to do that looks like: void AppletPrivate::showConfigurationRequiredMessage(bool show, const QString &reason) { // reimplemented in the UI specific library Q_UNUSED(show) Q_UNUSED(reason) } Looks like we have one week to fix this for 5.6 if it's not already too late. (In reply to Kai Uwe Broulik from comment #1) > The API is actually meant to be used imperatively, ie. you call > plasmoid.setConfigurationRequired(true, i18n("reason")), I think there > should be two distinct properties on the Plasmoid attached object > > however the actual code that is supposed to do that looks like: > > void AppletPrivate::showConfigurationRequiredMessage(bool show, const > QString &reason) > { > // reimplemented in the UI specific library > Q_UNUSED(show) > Q_UNUSED(reason) > } > > Looks like we have one week to fix this for 5.6 if it's not already too late. Kai was this merged into 5.6 or a later version? |