Open Bug 1732197 Opened 4 years ago Updated 4 years ago

cmd-tab to Firefox does not always focus most recently used window

Categories

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

Unspecified
macOS
defect

Tracking

()

Tracking Status
firefox92 --- affected
firefox93 --- affected
firefox94 --- affected

People

(Reporter: mcomella, Unassigned)

References

Details

Attachments

(2 files)

I don't know what triggers this state but:

Steps to reproduce

  • Open two windows, focus one
  • cmd+tab to another app
  • cmd+tab back to Firefox
  • cmd+tilde to focus the other window in Firefox
  • cmd+tab to another app
  • cmd+tab back to Firefox

Expected

The most recently focused window is focus when cmd+tab back to Firefox, like other apps in macOS.

Actual

If you leave Firefox focusing certain windows, focus will returns to a different window when you cmd+tab back to Firefox. I don't know what causes a window to get into this state but it seems specific to the window. For example, if I have three windows open, A, B, & C, windows A and B may exhibit the expected behavior but returning to window C will always focus window A.

I've attached a video demonstrating the behavior.

Window managers outside of macOS tend to have each window have it's own ctrl+tab group so this is likely a macOS specific bug. I'm on macOS 11.6 and 94.0a1 Nightly 2021-09-18 and I reproduced it on FF 92.0 too.

Change the status for beta to have the same as nightly and release.
For more information, please visit auto_nag documentation.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dao+bmo)
Attached video issue-textedit.mp4

I was able to reproduce this behavior in textedit (I attached a video) so maybe this is a macOS bug.

Component: Tabbed Browser → Widget: Cocoa
Flags: needinfo?(dao+bmo)
Product: Firefox → Core

(In reply to Michael Comella (:mcomella) [needinfo or I won't see it] from comment #4)

I was able to reproduce this behavior in textedit (I attached a video) so maybe this is a macOS bug.

Yes, this most likely indicates a macOS issue. Could you file this bug with Apple and add your Apple bug/case number as a comment here? Thank you!

Severity: -- → S4
Flags: needinfo?(michael.l.comella)
Priority: -- → P5

I filed a bug using Feedback Assistant and it has the identifier FB9701847.

Flags: needinfo?(michael.l.comella)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: