Closed Bug 1931330 Opened 11 months ago Closed 11 months ago

Keyboard shortcut for "Undo close window" fails if no windows are open (and "recently closed windows" submenu hasn't been shown)

Categories

(Firefox :: Keyboard Navigation, defect)

All
macOS
defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- wontfix
firefox132 --- wontfix
firefox133 --- wontfix
firefox134 --- verified

People

(Reporter: simonf, Assigned: simonf)

References

(Depends on 1 open bug, Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

  1. Launch Firefox
  2. ⌘W (close the only browser window without quitting Firefox)
  3. ⇧⌘N (try to reopen the window)

Result: fail beep

This was previously fixed in bug 492320 but now it's broken again.

It seems to have regressed in the range: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bfd7fe0cf994048e80fb01adc672293b900b6689&tochange=3396ae36832c1e444d7373ab021be20072d57e89

My suspicion is that it was bug 1833522 with https://hg.mozilla.org/mozilla-central/rev/feb42cf3b6e1 so I am setting that as regressor but I haven't verified because that is too far back for mozregression.

Flags: needinfo?(sfoster)

Set release status flags based on info from the regressing bug 1833522

Depends on: 1546099
Assignee: nobody → sfriedberger
Status: NEW → ASSIGNED

Thanks for picking this up. Yeah, the what-kind-of-window check should handle the case that there is no current window (something that currently can only happen on MacOS I believe).

Flags: needinfo?(sfoster)
Pushed by sfriedberger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9842b7d18aa3 Special case for PBM detection when no window is open r=sessionstore-reviewers,sfoster
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

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

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

For more information, please visit BugBot documentation.

Flags: needinfo?(sfriedberger)
Flags: needinfo?(sfriedberger)
Flags: qe-verify+

I was able to reproduce the issue on an affected Firefox Nightly build from 2024-11-14, using macOS 14.7, as described in Comment 0.
Verified as fixed with Firefox 134.0b2, using macOS 14.7 Using the ⇧⌘N keyboard shortcut reopens the window.

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

Attachment

General

Created:
Updated:
Size: