Idle inhibitors persist and accumulate after a playing video is moved to a different window
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox129 | --- | unaffected |
firefox130 | --- | unaffected |
firefox131 | --- | fixed |
People
(Reporter: ke5trel, Assigned: stransky)
References
(Depends on 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
STR:
- Play a video on Ubuntu 24.04.
- While it is still playing, drag the tab into a new window (or right-click > Move Tab > Move to New Window).
- Pause and play the video multiple times.
- Run from terminal:
dbus-send --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.GetInhibitors
Expected:
Inhibitors list is empty when no videos are playing. Screen goes blank after idle timeout.
Actual:
Inhibitors list grows every time video is started. Screen remains on after idle timeout.
Only closing the browser clears the inhibitors list and allows the screen to blank on idle.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0e7c63c931c823b5cc30c784c8c6c1eda03b8eac&tochange=0e96a2dfdd8c67f36e3dabeec9be3cb26f8e2c69
Regressed by Bug 1896235.
Comment 1•2 months ago
|
||
:stransky, since you are the author of the regressor, bug 1896235, could you take a look?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 2•2 months ago
|
||
Updated•2 months ago
|
Assignee | ||
Comment 3•2 months ago
|
||
It's because we recycle the g_cancellable which is kept in cancel state. Doc says it's better to release cancellable after cancel operation and create a new one.
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Comment 5•2 months ago
|
||
bugherder |
Updated•1 month ago
|
Description
•