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

Jakob Petsovits <jpe...@petsovits.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Jakob Petsovits <jpe...@petsovits.com> ---
I was a little too excited about also marking this bug as fixed as a result of
the above MR, but it doesn't fix this.

The good news is that an InterruptSession inhibit works as intended at least on
Plasma 6.1.3:

* To test, I create an equivalent inhibitor which will be picked up by
PowerDevil as InterruptSession:
  * systemd-inhibit --what=sleep --who=test --why=bug486422 sleep 3600
  * Direct D-Bus calls to `org.freedesktop.portal.Inhibit` (with "Sleep" flag)
or PowerDevil's own D-Bus API would behave the same.
* In the Screen Locking configuration, I set a 1 minute timeout and in Power
Management, turn off screen after 20 seconds when locked.
* As an alternative test, I set Screen Locking to Never and in Power
Management, turn off screen after 1 minute.
* The screen turns off either way after the defined timeout while the system
does not suspend. (In the first test, it will lock before turning off.)

So I can't tell what went wrong for your user in particular, but I was able to
confirm that Plasma's current implementation works as expected in this case.

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

Reply via email to