Open Bug 1813402 Opened 3 years ago Updated 2 years ago

Windows disappearing from window list on macOS

Categories

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

Firefox 109
defect

Tracking

()

UNCONFIRMED

People

(Reporter: arbitrarytrajectory, Unassigned)

Details

Attachments

(6 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/109.0

Steps to reproduce:

  1. Open multiple windows.
  2. Pray the bug manifests for testing this time.

Actual results:

Intermittently, one or more open windows does not appear in the windows drop-down menu. The missing window otherwise appears on screen as normal and is properly listed in the list of open windows from right-clicking the Firefox icon in the dock. Sometimes the window reappears on the list if I load a URL in it, but not consistently.

Once one window fails to appear on the list, switching between windows (I only tried cmd+`) may make other windows go temporarily missing from the list as well. The number of missing windows varies as windows are switched between. I don't know what to make of this.

I was able to reproduce this issue on a fresh profile, though my impression was that it happened less often than on my normal profile. I use a local homepage file and seemingly windows with my homepage tended to vanish from the list more often—maybe because newly-opened windows are more commonly afflicted, but it was primarily homepage windows that temporarily vanished on switching windows.

Expected results:

The windows drop-down menu should display all open windows.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Cocoa
Product: Firefox → Core

Can you confirm what version of Firefox you're running exactly? Do any of the windows use WebRTC? If not, we would need to figure out what URL exactly makes this bug occur.

Severity: -- → S3
Flags: needinfo?(arbitrarytrajectory)
Priority: -- → P3

As mentioned in the user agent, I'm running Firefox 109.0. Some of the windows may use WebRTC but it also happened with my homepage, which is extremely basic handmade HTML, not even any Javascript.

Flags: needinfo?(arbitrarytrajectory)

Can you please provide a screencast of when this bug occurs? Note that it is most likely one page in particular that triggers this bug. Can you try to isolate it?

Flags: needinfo?(arbitrarytrajectory)

I attached a screenshot of this bug occurring, where a clearly-open Bugzilla window does not appear in the drop-down menu. I also had a Mozilla Connect window open at the time that also failed to appear in the list.

I haven't identified yet whether the unlisted windows are always missing at time of creation or whether they ever vanish upon loading a different URL. If it's an issue with my homepage I doubt it's the contents; besides the very basic HTML and CSS the only notable feature is base 64-encoded embedded images. It would be more likely that the issue is with local files in general. I'll experiment further when it next happens.

Flags: needinfo?(arbitrarytrajectory)

Others have reported encountering this bug over on Mozilla Connect: https://connect.mozilla.org/t5/discussions/windows-missing-in-quot-window-quot-menu/td-p/22276

Happened again today. I noticed it immediately after closing a window. Both normal and private browsing windows vanished from the list; the only windows always listed while tabbing between windows were a private browsing window and a window opened after noticing the bug.

Do you remember what URL you had loaded in the window that you closed? When this bug occurs, can you provide two screenshot, one showing the contents of the Window menu like you did in comment 0 and one that shows the list of windows when you right-click on the Dock icon?

Flags: needinfo?(arbitrarytrajectory)
Attached image Dock window list.png
Flags: needinfo?(arbitrarytrajectory)
Attached image Window list 1
Attached image Window list 2
Attached image Window list 3
Attachment #9316051 - Attachment is obsolete: true

This time the window I closed right before noticing the bug had a twitch.tv video (not livestream, if that matters). The other two windows open had History and my homepage; I opened the Bugzilla window after noticing the bug had occurred. The screenshots show which windows are listed varies by which window is active—the Bugzilla window is never listed but the homepage window is listed only when it is not active.

Attached image Missing separator

And now the separator bar between the window list and the rest of the menu is sometimes missing too...

It seems like the common denominator here is your homepage. Are you able to attach a copy of this html page, after removing anything personal from it?

Flags: needinfo?(arbitrarytrajectory)

I don't think the page itself is the issue, unless the folks on Mozilla Connect all use the same niche homepage approach. I just have a habit of opening blank windows. But there's an easy way to check—I'll set Firefox to use a blank page and see how long this takes to crop up again.

Yep, happened again with my homepage set to about:blank.

Flags: needinfo?(arbitrarytrajectory)

Any update to this? It feels like every time I need to navigate between more than two or three windows, at least one is missing from the list. Today I even saw a window vanish from the menu while I had it open.

I understand nailing down bugs like this is difficult and time-consuming even when they're a priority, but in the meantime could we please get a setting to have Firefox control the window menu again? Support for a semi-obscure OS feature should not take priority over basic web browser functionality.

Flags: needinfo?(spohl.mozilla.bugs)

It is highly unlikely that we will want to bring back the old implementation and put this behind a pref. It is brittle to maintain, particularly absent sufficient tests. The new implementation seems to work well for most users, with the exception of the bug reported here. We need to isolate the common denominator for users encountering this issue. It appears that you are able to reproduce this whenever you have your local homepage loaded. Are you able to reproduce this on a different system? In a new profile? Or without your homepage loaded? There is something particular about this system (and possibly the systems used by the other affected users from Mozilla Connect) that makes this bug occur. We want to isolate it and fix it.

Flags: needinfo?(spohl.mozilla.bugs)

Ah, pity. Here I was hoping the Firefox-managed menu was the normal implementation on other platforms...

I don't have another computer to test on, but as noted in the original bug report I was able to reproduce this in a new profile. Not sure what you mean by without my homepage loaded, but I increasingly don't think this is related to the specific homepage as I've reproduced this while using about:blank and the default Firefox Home. Perhaps it's connected to older versions of macOS? I'm on 10.14 and the two affected users from Mozilla Connect were both on 10.13. I may be updating to 10.15 in the near future; if so I'll see whether this persists.

Still happening on 115.9.1esr.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: