User avatar
wicked witch of the unix @navi@social.vlhl.dev
4d
does firefox not grab idle inhibit when playing (youtube) videos fullscreen?

i've finally set up swayidle and now i'm getting lockscreen'd mid video...
2
0
1
0
User avatar
illy [Shrimple-mode] protomoji_orange_flag_lesbian @illyBytes@shrimp.imsofucking.gay
4d
@navi it does inhibit idle for me but im on niri
1
0
1
0

User avatar
Ollie Branch @OllieBranch@mk.absturztau.be
4d
@illyBytes @navi For some reason I've noticed some DEs work with this and some don't

KDE had a similar issue for a long while, even full screen games would allow the screen to lock if you're playing on controller.

I wish I knew why it's been such an issue these past few years.
1
0
0
0
User avatar
wicked witch of the unix @navi@social.vlhl.dev
4d
@OllieBranch @illyBytes the controller bit makes sense because the game isn't getting controller input via kwin

wayland doesn't implement controller input (yet, protocol mr exists), so games open /dev/input directly; meaning from the compositor's pov you are idle, no keyboard, touch, pointed, nor tablet input, it simply does not see controller input as input, only the game does
1
0
0
0
User avatar
Ollie Branch @OllieBranch@mk.absturztau.be
4d
@navi @illyBytes I would think a full screen game would inhibit idle at least, if it were working properly, but I understand wayland not implementing controller input.

I can imagine that problem being either the compositor/DE, or the game (whether native or wine/proton).

Now that I think about it though, shouldn't the compositor be able to detect when a client is fullscreen? Then it could just refuse to idle without really needing to know anything else from the client (if that's the user's preference). Maybe there's something else involved I don't know about.
1
0
0
0
User avatar
wicked witch of the unix @navi@social.vlhl.dev
4d
@OllieBranch @illyBytes i mean, yes, i just did that for sway for_window [app_id=.*] idle_inhibit fullscreen

but that's kinda of a hack, and often not really always correct; if i fullscreen something like a kicad window to work on smth, i still expect idle timers to kick in
1
0
1
0
User avatar
Ollie Branch @OllieBranch@mk.absturztau.be
4d
@navi @illyBytes I might borrow this for my config tbh.

Disabled idle a while ago due to similar issues but this would be a good enough workaround I think.
0
0
2
0