Summary: | display configuration applet: cannot leave presentation mode | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | Eric Armbruster <eric1> |
Component: | OSD and Plasma applet | Assignee: | Natalie Clarius <natalie_clarius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anders.ostling, bugseforuns, enricobe, kde, meven29, natalie_clarius, nate, nicolas.fella, postix, rosswzyang |
Priority: | NOR | Keywords: | qt6 |
Version: | 5.27.80 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kscreen/-/commit/cefc4921e24b0dbffa660911836c5a03bd5a8c21 | Version Fixed In: | 6.0.3 |
Sentry Crash Report: |
Description
Eric Armbruster
2023-11-22 08:50:44 UTC
Can reproduce. I took a look at the code in KScreen (where the applet lives) and what seems to be happening is this: Whenever you click on the switch, it disables itself and starts a beginSuppressingScreenPowerManagement or stopSuppressingScreenPowerManagement job. Once the job completes, the switch re-enables itself. But if it doesn't complete, then the switch remains disabled forever. And the disabled state for a PlasmaComponents.Switch looks nearly identical to the enabled state, so it's hard to tell that that's what happened. I can reproduce the job not finishing and the switch remaining disabled. Natalie, can you take a look here? Duplicate of https://bugs.kde.org/show_bug.cgi?id=474437? @Nate, you said you couldn't reproduce on the other bug report but you can here? Can you explain the difference? I can reproduce what I understand to be the same bug reported here and in the other thread. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3611 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/262 *** Bug 474437 has been marked as a duplicate of this bug. *** Git commit e07ba2cb8c9b3b3315b62cd55fa678cb1a46abb1 by Natalie Clarius. Committed on 23/01/2024 at 20:48. Pushed by nclarius into branch 'master'. plasmoid: adapt to changed inhibition request handling This was overlooked to adapt with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3294: The data engine now manages the cookie internally rather than passing it between the applet. M +0 -3 plasmoid/package/contents/ui/PresentationModeItem.qml https://invent.kde.org/plasma/kscreen/-/commit/e07ba2cb8c9b3b3315b62cd55fa678cb1a46abb1 Git commit 0266e1403ca121b382f06d60c13ced61bd800dde by Natalie Clarius. Committed on 23/01/2024 at 20:48. Pushed by nclarius into branch 'master'. dataengines/powermanagement: set result for inhibition request This is needed for the battery and display configuration applets to update state (reenable switch and show OSD or error notification). M +4 -0 dataengines/powermanagement/powermanagementjob.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/0266e1403ca121b382f06d60c13ced61bd800dde *** Bug 480275 has been marked as a duplicate of this bug. *** *** Bug 482028 has been marked as a duplicate of this bug. *** Git commit ab792c02861b61e0af375e68eaf03d76ffd8a4d4 by Méven Car, on behalf of Natalie Clarius. Committed on 23/03/2024 at 09:22. Pushed by meven into branch 'Plasma/6.0'. dataengines/powermanagement: set result for inhibition request This is needed for the battery and display configuration applets to update state (reenable switch and show OSD or error notification). (cherry picked from commit 0266e1403ca121b382f06d60c13ced61bd800dde) M +4 -0 dataengines/powermanagement/powermanagementjob.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/ab792c02861b61e0af375e68eaf03d76ffd8a4d4 Git commit cefc4921e24b0dbffa660911836c5a03bd5a8c21 by Natalie Clarius. Committed on 23/03/2024 at 01:34. Pushed by nicolasfella into branch 'Plasma/6.0'. plasmoid: adapt to changed inhibition request handling This was overlooked to adapt with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3294: The data engine now manages the cookie internally rather than passing it between the applet. (cherry picked from commit e07ba2cb8c9b3b3315b62cd55fa678cb1a46abb1) M +0 -3 plasmoid/package/contents/ui/PresentationModeItem.qml https://invent.kde.org/plasma/kscreen/-/commit/cefc4921e24b0dbffa660911836c5a03bd5a8c21 *** Bug 484340 has been marked as a duplicate of this bug. *** |