Bug 442243 - Latte Dock (Panel) is still marked as 'inhibiting sleep' when the battery applet's 'Inhibit sleep' button is toggled off.
Summary: Latte Dock (Panel) is still marked as 'inhibiting sleep' when the battery app...
Status: RESOLVED DUPLICATE of bug 433675
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.10.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-09 23:43 UTC by Lemuel Simon
Modified: 2021-09-17 18:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the battery applet in Latte Dock (panel). After toggling off the 'Inhibit automatic sleep' button in the battery applet, Latte-dock is still being reported as 'inhibiting sleep'. (25.13 KB, image/png)
2021-09-09 23:43 UTC, Lemuel Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lemuel Simon 2021-09-09 23:43:42 UTC
Created attachment 141433 [details]
Screenshot of the battery applet in Latte Dock (panel). After toggling off the 'Inhibit automatic sleep' button in the battery applet, Latte-dock is still being reported as 'inhibiting sleep'.

SUMMARY
After toggling off the 'Inhibit automatic sleep' button in the battery applet, Latte-dock is still being reported as 'inhibiting sleep and screen locking' in the applet. With Vivaldi, Falkon and Dragon Player, during media playback they show up in the battery applet and disappear when the video is paused or stopped (as they should). However, Latte-dock persists. I've also performed the 'Inhibit' toggle in the battery applet in Plasma's own panel, the error doesn't occur there, it seems specific to Latte-dock.


STEPS TO REPRODUCE
1. Open the battery applet on the Latte-dock.
2. Toggle the 'Inhibit screen locking and sleep' button to 'on'
3. Toggle the 'Inhibit screen locking and sleep' button to 'off'

OBSERVED RESULT
Even when toggled off, the battery applet reports the following: 'lattedock is inhibiting sleep and screen locking (The battery applet has enabled system-wide inhibition)'.

EXPECTED RESULT
When toggled off, Latte-dock should NOT be marked as inhibiting sleep and screen locking by the battery applet.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.3.18-57-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-3320M CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000

ADDITIONAL INFORMATION
Comment 1 Lemuel Simon 2021-09-17 16:46:00 UTC
Ok, I did some searching around, it seems like this bug in Plasma rather than Latte: https://bugs.kde.org/show_bug.cgi?id=433675 . The bug is just immediately apparent in Latte Dock. I'm wondering if I should close this?
Comment 2 Michail Vourlakos 2021-09-17 18:14:21 UTC

*** This bug has been marked as a duplicate of bug 433675 ***