Rectangle.app now impacts firefox performance.
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
People
(Reporter: mgaudet, Unassigned)
References
(Blocks 1 open bug)
Details
STR:
- Install https://rectangleapp.com/
- mozregression --launch 2026-03-11
- run https://www.browserbench.org/Speedometer3.1/ (potentially repeat a few x to get a note of your range of scores) and note score
- Launch Rectangle
- run SP3 again and note score -- no real noticeable impact
- Quit Rectangle
- mozregression --launch 2026-06-11
- Run SP3, note scores
- Launch Rectangle
- Run SP3 note scores
Expected: Scores don't vary largely
Actual: knocks 20% off score.
I had previously observed this for Chrome (see related http://github.com/rxhanson/Rectangle/issues/1751), but previously Firefox was immune.
| Reporter | ||
Comment 1•5 months ago
|
||
Without Rectangle: https://share.firefox.dev/3QiGEcG
With Rectangle: https://share.firefox.dev/3RTcRYF
| Reporter | ||
Comment 2•5 months ago
|
||
It appears the difference is accessibility being enabled; what's unclear to me is why this was not the case in March.
Comment 3•5 months ago
|
||
Bug 1997441 or bug 2028944 could be relevant. Either way, though, this could only happen if something on your system is querying Firefox accessibility. Those bugs deal with cases where a client queried accessibility, but Firefox failed to respond correctly. So, yes, accessibility will be instantiated by certain accessibility queries when it wasn't previously, but the fact that it wasn't previously was a bug that broke users.
This comment on the GitHub issue you mentioned suggests that Rectangle doesn't itself enable accessibility, but rather only re-enables accessibility if something else already enabled it. Assuming that's correct, then there must be another accessibility client on your system that is querying Firefox. Do you have any idea what that might be?
| Reporter | ||
Comment 4•5 months ago
|
||
In my accessibility list I have the following enabled:
- Handy
- Keyboard Maestro
- Keyboard Maestro Engine
- Rectangle
In the list, but disabled,
- 1Password
- HazeOver
- MonitorControl
- OBSBOT Centre
- zoom.us
So as an experiment: I incrementally disabled all of them; it did not change impact of rectangle. So at this point the only one with Accessibility access is rectangle itself.
Not sure if there's other potential ways this could get impacted tho.
Comment 5•5 months ago
|
||
Can I clarify: when you disabled them, did you restart Firefox before trying the next test? The Firefox accessibility engine can't currently shut itself down after an OS client pokes it. Doing that is something we've talked about, but it's quite risky because it can break legitimate clients that happen to go idle for a while.
| Reporter | ||
Comment 6•5 months ago
|
||
Strongly suspect I did not.
I will revisit this when I get some time -- self ni? to make sure I don't drop this.
| Reporter | ||
Comment 7•5 months ago
|
||
Ok, so I re-ran the experiment with only Rectangle.app enabled in "Privacy and Security > Accessibility", and saw the same behaviour (on same build). So as far as I know the aforementioned comment in the Rectangle repo is probably wrong; Notably I also see this behaviour purely turning Rectangle on -- no resizing actually happens at all.
Description
•