Mozilla Monitor website will be down for 2 hours starting 5/20/2025 at 6 AM PT. Visit our status site for updates.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox reverts to animated UI after "long" uptime

  • 無回覆
  • 0 有這個問題
more options

I am using a Hammerspoon on MacOs to do my window management. This allows me to move windows around to different areas and monitors using my own hotkeys. For all other applications, this works perfectly. Windows move to the target area/screen instantly when I press a hotkey. However, Firefox always needs some "encouragement". On every key-press, it moves towards the desired location & size, but never gets there in one go.

After some googling, I recently found another question on this forum that seemed to fix the problem. It is this question: https://support.mozilla.org/en-US/questions/1438695

By setting `ui.prefersReducedMotion` to 1, Firefox stops its animation-stuff and does exactly what is expected when the windowmanager gives the window a series of `(x, y, w, h)` instructions. So, that seemed like the fix I needed.

But... I typically don't reboot my mac for weeks on end and I noticed that after "some time", Firefox reverts back to its old behaviour. I have not yet figured out if there is a minimum amount of time before this happens, or if it has something to do with locking/unlocking my mac. At the moment the only way to fix it again is to restart Firefox.

I know reducing animations in MacOS' accessibility-settings probably fixes it for good, but that is not what I want. That would remove _all_ animations from all of the apps and the OS. How can I help investigate this?

I am using a Hammerspoon on MacOs to do my window management. This allows me to move windows around to different areas and monitors using my own hotkeys. For all other applications, this works perfectly. Windows move to the target area/screen instantly when I press a hotkey. However, Firefox always needs some "encouragement". On every key-press, it moves towards the desired location & size, but never gets there in one go. After some googling, I recently found another question on this forum that seemed to fix the problem. It is this question: https://support.mozilla.org/en-US/questions/1438695 By setting `ui.prefersReducedMotion` to 1, Firefox stops its animation-stuff and does exactly what is expected when the windowmanager gives the window a series of `(x, y, w, h)` instructions. So, that seemed like the fix I needed. But... I typically don't reboot my mac for weeks on end and I noticed that after "some time", Firefox reverts back to its old behaviour. I have not yet figured out if there is a minimum amount of time before this happens, or if it has something to do with locking/unlocking my mac. At the moment the only way to fix it again is to restart Firefox. I know reducing animations in MacOS' accessibility-settings probably fixes it for good, but that is not what I want. That would remove _all_ animations from all of the apps and the OS. How can I help investigate this?

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題