Firefox freezes every time after the light/dark mode switches by macOS
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
People
(Reporter: ksyuanq, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:147.0) Gecko/20100101 Firefox/147.0
Steps to reproduce:
Nothing, just leave Firefox open.
The system appearance setting is: Auto
Actual results:
I have noticed that Firefox freezes (not responding to any clicks, or keyboard shortcuts) whenever the system appearance switches between light and dark, or vice versa. I am not sure whether idle time is a factor, but it usually happens after a few hours, for example when I leave it overnight and then try to use Firefox in the morning.
macOS version: 26.2 (25C56)
chip: Apple M3 Pro
memory: 18GB
Expected results:
Firefox should stay responsive with the correct light/dark appearance.
P.s. By saying "it usually happens after a few hours", I mean that the light or dark appearance switch typically occurs in a scenario where the computer has been left idle for several hours.
Comment 2•9 months ago
|
||
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.
Comment 3•9 months ago
|
||
@Eric, thanks for the report.
Firefox 147, which released on Jan 13th, included a fix for a similar-sounding problem (bug 1985140). With that problem, the unresponsiveness typically occurred after the computer had been in sleep mode. We don't think it was related to switching between dark and light mode. Do you know if you encountered the problem since updating to 147?
When the problem occurs, do you have to restart Firefox to fix it?
Does manually switching between dark and light mode in macOS System Settings trigger the problem?
Hi Haik,
No, I encountered this issue last year as well. It then seemed to disappear for a while, but recently it has occurred again. I did not notice the exact timing, such as whether it re-appeared right after upgrading to 147.
Yes, restarting Firefox fixes it. Manually switching the appearance does not trigger the problem. It may be a red herring, as my laptop is locked every time the issue occurs.
Comment 5•9 months ago
|
||
This could be a duplicate of bug 1985140 or 2005260. Without more information, I'm closing the bug as a dupe of 1985140 which we expect to be fixed in Firefox 147. If the problem reoccurs, let us know.
I think I clearly stated that it happens in FireFox 147 in my first post. And, yes, let me say it again, it still happens in FireFox 147.
Comment 7•9 months ago
|
||
(In reply to Eric from comment #6)
I think I clearly stated that it happens in FireFox 147 in my first post. And, yes, let me say it again, it still happens in FireFox 147.
OK, we'll reopen the bug. Sorry, I thought you meant you weren't sure. We're investigating similar-sounding issues still occurring in 147 on bug 2005260.
Comment 8•9 months ago
|
||
Can you use https://profiler.firefox.com/ to get a profile of when it happens? If you trigger a dark/light change by changing the setting in the OS settings does that trigger it?
(In reply to Timothy Nikkel (:tnikkel) from comment #8)
Can you use https://profiler.firefox.com/ to get a profile of when it happens? If you trigger a dark/light change by changing the setting in the OS settings does that trigger it?
I would be happy to do that, but how can I do it while Firefox is frozen? I am also unsure whether this would expose any personal information. I had a quick look and it seems it knows all my open tabs.
Changing dark or light mode manually in the OS settings does not trigger the issue. It only happens when I am away from the computer and the appearance switches automatically during that time.
| Reporter | ||
Comment 10•8 months ago
|
||
a follow up: this bug still occurs in version 148. Also, it isn't a complete freeze, for example, although the tabs won't respond to my click when this happens, their status do reflect my click after I restart the Firefox.
| Reporter | ||
Comment 11•8 months ago
|
||
Because of this annoying bug, I am planning to move Firefox to a secondary role. Firefox is genuinely great to use, especially for video, but I cannot tolerate having to close and reopen it at least twice every day. Hopefully this bug will be resolved soon. Adios.
Description
•