Bug 483087 - Flatpak Firefox fails to inhibit power management when playing videos
Summary: Flatpak Firefox fails to inhibit power management when playing videos
Status: RESOLVED DUPLICATE of bug 482141
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-10 09:14 UTC by Lorenz Hoffmann
Modified: 2024-03-11 22:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***