| Summary: | Screen lock/sleep are not inhibited when playing content in web browsers on Wayland | ||
|---|---|---|---|
| Product: | [Unmaintained] Powerdevil | Reporter: | Ramon Marquez <remarqueze> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | fanzhuyifan, kde, nate, voidpointertonull+bugskdeorg |
| Priority: | NOR | ||
| Version First Reported In: | 5.24.1 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Ramon Marquez
2022-02-18 22:20:45 UTC
Does the Battery & Brightness app list any apps inhibiting sleep and screen lock when the webpage plays media? Does it work when you play a video in YouTube? Do you have plasma-browser-integration installed? (In reply to Nate Graham from comment #1) > Does the Battery & Brightness app list any apps inhibiting sleep and screen > lock when the webpage plays media? I use a desktop PC so I don't see the battery option. As for the power options there is no list of apps > Does it work when you play a video in YouTube? On YouTube, the screen is also not inhibited when playing videos without being in full screen mode > Do you have plasma-browser-integration installed? Yeah, in both google chrome and firefox is `powerdevil` running? If so, then this is an issue in the browsers themselves not sending the necessary inhibitions. (In reply to Nate Graham from comment #3) > is `powerdevil` running? > > If so, then this is an issue in the browsers themselves not sending the > necessary inhibitions. Yeah, that process is running. However, do a test and this error only occurs under the Wayland session because in X11 it doesn't give that error, the inhibits work correctly in both browsers if you log in under X11 That's strange, it works for me on Wayland. I believe there's no power management inhibition for audio as discussed in Bug 335729 . On the other hand I can't confirm inhibition not working for videos, it's fine for me on Wayland: - Firefox (Flatpak, no plasma-browser-integration) inhibits power management when the current tab is playing video (not even full screen), but gives up on the inhibition when switching to another tab - mpv inhibits power management when playing a video, but also removes the inhibition when it's minimized I think there has been some misunderstanding -- reading the original report, inhibit is used to mean "turn off", and the report is about the screen NOT turning off. I cannot reproduce on wayland, git master. With firefox nightly playing music from accuradio, the screen correctly turns off. What browser are you using? ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |