Summary: | Idle Inhibit not working correctly | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Aleksey Samoilov <samoilov.lex> |
Component: | wayland-generic | Assignee: | Vlad Zahorodnii <vlad.zahorodnii> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kwin/437d35eee2421565f505ebe16909349891f31cc6 | Version Fixed In: | 5.15.0 |
Sentry Crash Report: | |||
Attachments: | WAYLAND_DEBUG |
Description
Aleksey Samoilov
2018-11-28 11:38:57 UTC
We don't have support for this interface. (In reply to Martin Flöser from comment #1) > We don't have support for this interface. We have support, I added it myself... The support in KWin is incomplete. We added the support only because applications were failing to start without it. But we don't use the information at all. (In reply to Martin Flöser from comment #3) > The support in KWin is incomplete. We added the support only because > applications were failing to start without it. But we don't use the > information at all. No, I'm wrong again. We block screen lock, etc. Could you please run the application with WAYLAND_DEBUG=1 and attach the output here? Created attachment 116552 [details]
WAYLAND_DEBUG
Given the debug output I don't see a reason why it should not work. I think I found why it's not working. Git commit 437d35eee2421565f505ebe16909349891f31cc6 by Vlad Zagorodniy. Committed on 29/11/2018 at 16:17. Pushed by vladz into branch 'master'. [wayland] Check presence of the inhibitor object when a client is registered in IdleInhibition Summary: Some applications are not able to inhibit the idle behavior because each of them creates an inhibitor object before the corresponding ShellClient object becomes ready for painting. FIXED-IN: 5.15.0 Test Plan: idle-inhibit client (from wlroots/examples) works. Reviewers: #kwin, graesslin Reviewed By: #kwin, graesslin Subscribers: davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D17227 M +6 -6 autotests/integration/idle_inhibition_test.cpp M +10 -10 idle_inhibition.cpp https://commits.kde.org/kwin/437d35eee2421565f505ebe16909349891f31cc6 |