https://bugs.kde.org/show_bug.cgi?id=381160

            Bug ID: 381160
           Summary: Battery plasmoid does not show a notification that an
                    application is inhibiting screenlock when it uses
                    xdg-screensaver to do so
           Product: plasmashell
           Version: 5.10.1
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Battery Monitor
          Assignee: k...@privat.broulik.de
          Reporter: kishor...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 106078
  --> https://bugs.kde.org/attachment.cgi?id=106078&action=edit
Screenshot showing the message expected

Some media players (e.g. VLC) inhibit power management when a video is being
played. In such instances, a notification (see attached screenshot) is shown in
the 'battery and brightness' plasmoid that the application is disabling power
management. 

MPV media player calls xdg-screensaver to inhibit the lockscreen (See
https://github.com/mpv-player/mpv/issues/3801 ), and when it does so, it is
able to inhibit suspend, but there is no message to that effect in the battery
and brightness plasmoid. 

Steps to reproduce:
Play a video in mpv.

Actual result:
Power management is inhibited (one can check this by playing a video after
setting the screenlock timeout to, for e.g., 1 min), but the 'battery and
brightness' plasmoid does not show any message informing the user of this.

Expected result:
The battery and brightness plasmoid should show a message even for applications
which call xdg-screensaver to inhibit power management.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to