Bug 483087

Summary: Flatpak Firefox fails to inhibit power management when playing videos
Product: [Plasma] Powerdevil Reporter: Lorenz Hoffmann <hoffmann_lorenz>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, me, natalie_clarius, nate
Priority: NOR Keywords: qt6
Version: 6.0.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lorenz Hoffmann 2024-03-10 09:14:53 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Plasma should not go into power save when a full screen window is open, like a video playing. This is really annoying, especially together with https://bugs.kde.org/show_bug.cgi?id=482684.

STEPS TO REPRODUCE
1. Install Firefox as a Flatpak (native install not tested)
2. Play a YouTube video

OBSERVED RESULT
The screens turn off after a while.

EXPECTED RESULT
The screens should not turn off.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 2080/PCIe/SSE2

ADDITIONAL INFORMATION
I use multiple monitors, Wayland, Flatpak Firefox and an Nvidia GPU.
Comment 1 Nate Graham 2024-03-11 21:57:08 UTC
This is up to the app to do, and firefox properly inhibits when videos are playing with my native-packaged version. So there are a few options:
1. Firefox isn't inhibiting on Flatpak
2. Firefox is inhibiting, but its Flatpak packaging is blocking the inhibition request from reaching Powerdevil
3. Firefox is inhibiting, and its Flatpak packaging isn't blocking it, but Powerdevil fails to react to this correctly.

I think #2 is the most likely scenario.
Comment 2 ratijas 2024-03-11 22:04:49 UTC

*** This bug has been marked as a duplicate of bug 482141 ***