Bringing firefox to the foreground when another application has focus results in a short freeze
Categories
(Core :: Widget: Cocoa, defect, P3)
Tracking
()
People
(Reporter: info, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0
Steps to reproduce:
- Run firefox on mac
- Leave running for a long time
- Press command+tab to switch to other application
- Press command+tab to switch back to firefox
(see attached profile)
Actual results:
Firefox freezes for a few seconds before becoming interactive.
Expected results:
Switching firefox to the foreground should be near instant
I've found other people that may have experienced the same problem:
The entire freeze time (1 second) seems to be spent on the main thread in [NSApplication setMainMenu:]
Comment 3•3 years ago
|
||
Hi Max,
I wasn't able to reproduce this issue on MacOS 11.6, however, I'm going to set a component in order to get this looked at by the development team.
Meanwhile, could you please check if this also occurs on Firefox Nightly?
You can get it from here: https://www.mozilla.org/en-US/firefox/108.0a1/releasenotes/
Thanks!
I'll leave nightly open for a while to see if I can reproduce it there.
It might have something to do with the fact that my mac has a notch and runs raycast. Both of which use up a lot of menu bar space.
Updated•3 years ago
|
The hang on nightly seems to be less severe. Not sure if that's due to any changes or due to me using it less.
Attached is the profile for switching focus for nightly. It also spends a lot of time in [NSApplication setMainMenu:]
Description
•