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

--- Comment #7 from Artur Rudenko <catcool...@gmail.com> ---
(In reply to Artur Rudenko from comment #6)
> (In reply to Nate Graham from comment #5)
> > I can't remember if inhibitions are universal, or an app gets to choose what
> > to inhibit. Hopefully the Powerdevil developers can help some more.
> 
> Looks like I didn't understand the problem correctly. Lutris (which has the
> problem I described) uses Gtk.Application.inhibit with
> GTK_APPLICATION_INHIBIT_SUSPEND and GTK_APPLICATION_INHIBIT_IDLE flags. 
> GTK_APPLICATION_INHIBIT_IDLE flag should inhibit both dim screen and lock
> screen (if I understood correctly from
> https://docs.gtk.org/gtk3/flags.ApplicationInhibitFlags.html) but
> powerdevil(?) interprets it as "disable lock screen but not dim screen" so
> it's probably powerdevil's regression. But it only work not intended when an
> app is not in focus. 
> 
> It's a bug anyway because it either should ignore inhibitors for minimized
> apps or respect them fully anywhere except lock screen. Blocking auto
> locking and not screen dimming is confusing.

In addition, because of this bug, lutris now can't block screen dimming for
games anymore.

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

Reply via email to