| Summary: | External monitor message is not refreshed when the relevant setting in the KCM is changed | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | grouchomarx.fr |
| Component: | Power and Battery widget | Assignee: | Natalie Clarius <natalie_clarius> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | 60f31543-f82f-492a-8430-25db5521568b, Gvgeo, jpetso, natalie_clarius, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.8.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
grouchomarx.fr
2016-12-30 13:09:03 UTC
There are two problems with this message.
1. Suppression message change only when loading or change outputs.
2. Suppression message does not know the desired action for lid. But always warns about suspend.
Possible needed changes.
1. Need to update "Triggers Lid Action".
void HandleButtonEventsConfig::save()
if ( m_triggerLidActionWhenExternalMonitorPresent != m_OLDtriggerLidActionWhenExternalMonitorPresent)
Q_EMIT triggersLidActionChanged(HandleButtonEvents::triggersLidAction());
2. Include lidAction in DBus. Display action in message, and display message only if needed.
or 2. Change the message, and add m_lidAction != 0 in HandleButtonEvents::triggersLidAction().
Change 1 is too specific, but is just wrong, even as pseudocode. Can still reproduce in Plasma 6 even with the new Powerdevil KCM and the split Power and Battery applet. *** Bug 455246 has been marked as a duplicate of this bug. *** |