Closed Bug 1917548 Opened 2 years ago Closed 1 year ago

Moving tab playing video into new window leaves an orphaned inhibitor that persists until application exit

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 131
Unspecified
Linux
defect

Tracking

()

VERIFIED FIXED
133 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- wontfix
firefox132 --- wontfix
firefox133 --- verified

People

(Reporter: ke5trel, Assigned: stransky)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

STR:

  1. Play a video on Ubuntu 24.04.
  2. While it is still playing, drag the tab into a new window (or right-click > Move Tab > Move to New Window).
  3. Stop the video.
  4. Run from terminal:
    dbus-send --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.GetInhibitors
  1. Repeat steps if it does not occur the first time.

Expected:
Inhibitors list is empty when no videos are playing. Screen goes blank after idle timeout.

Actual:
Inhibitors list has an extra item that is not associated with a playing video. Screen remains on after idle timeout.

Repeating steps produces an orphaned inhibitor each time. 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.

:stransky, since you are the author of the regressor, bug 1896235, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(stransky)
Flags: needinfo?(stransky)
Assignee: nobody → stransky
Attachment #9424098 - Attachment description: WIP: Bug 1917548 [Linux] rework screensaver → Bug 1917548 [Linux] Queue screensaver inhibit/uninhibit requests and perform them in order r?emilio
Status: NEW → ASSIGNED
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/935617a393ae [Linux] Queue screensaver inhibit/uninhibit requests and perform them in order r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch

The patch landed in nightly and beta is affected.
:stransky, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox132 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(stransky)
Regressions: 1923641
Backout by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/78c8331a78f1 Backed out changeset 935617a393ae for causing a top crash as in bug 1923641. a=backout
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 133 Branch → ---
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/2d98404a9982 [Linux] Queue screensaver inhibit/uninhibit requests and perform them in order r=emilio
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Flags: needinfo?(stransky)

Is this something we want to uplift to Beta before 132 goes to RC on Monday?

Flags: needinfo?(stransky)

Let's ride it the train.

Flags: needinfo?(stransky)
Priority: -- → P3
Regressions: 1926030

I have reproduced this issue using an affected Nightly build from 2024-09-09, and by following STR detailed in step 0.

The issue is verified as fixed on Ubuntu 24.04 with Firefox 133.0.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: