Since Firefox 55, there is a conflict between a minor TST bug and privacy.resistFingerprinting: On startup, the privacy feature calculates window dimensions required to protect privacy by normalizing window dimensions across the Firefox user base, like Tor Browser. Unfortunately, TST has long had a tiny bug where, when the tab bar is set to auto-hide, it is still displayed for a second on startup. It's not super aesthetic but the bug wasn't worth fixing prior to Firefox 55. But now, this bug messes with the anti-fingerprinting window size calculation, which widens the window as if TST's side bar was permanent, when it is not. That conflicts with the intended goal of normalizing window size.
I know that reading preferences is asynchronous, so the cause of this bug could be that "the side bar shows by default" is hard coded in TST, and by the time the auto-hide pref can be read, Firefox's UI has had time to display the side bar for a split second, and unfortunately right when anti-fingerprinting was busy resizing.
Do you see a way to fix this ?
Steps to reproduce
Start Firefox 55 with clean profile.
Install TST.
Go to about:config and enable privacy.resistFingerprinting
Close Firefox and open it again. Notice the new window size.
Right click on the tab side panel and enable automatic hiding
Close and open Firefox again
See how the window size is "incorrect" with regards to what fingerprint resistance aimed to do
Expected result
Window size as accessible to web content should be consistent whether TST is hiding the tab bar or not.
Actual result
There is a conflict between TST and privacy.resistFingerprinting because on startup, TST is flashing the side bar when the anti-fingerprinting feature calculates the required window size and sets dimensions. Once TST hides the side bar, it's too late, and window dimensions as accessible to web content are not what they should have been.
Environment
Platform (OS): Windows 7 64-bit
Version of Firefox: 55, 32-bit
Version (or revision) of Tree Style Tab: 0.19.2017061601 (AMO's latest)
Short description
Since Firefox 55, there is a conflict between a minor TST bug and
privacy.resistFingerprinting
: On startup, the privacy feature calculates window dimensions required to protect privacy by normalizing window dimensions across the Firefox user base, like Tor Browser. Unfortunately, TST has long had a tiny bug where, when the tab bar is set to auto-hide, it is still displayed for a second on startup. It's not super aesthetic but the bug wasn't worth fixing prior to Firefox 55. But now, this bug messes with the anti-fingerprinting window size calculation, which widens the window as if TST's side bar was permanent, when it is not. That conflicts with the intended goal of normalizing window size.I know that reading preferences is asynchronous, so the cause of this bug could be that "the side bar shows by default" is hard coded in TST, and by the time the auto-hide pref can be read, Firefox's UI has had time to display the side bar for a split second, and unfortunately right when anti-fingerprinting was busy resizing.
Do you see a way to fix this ?
Steps to reproduce
privacy.resistFingerprinting
Expected result
Window size as accessible to web content should be consistent whether TST is hiding the tab bar or not.
Actual result
There is a conflict between TST and
privacy.resistFingerprinting
because on startup, TST is flashing the side bar when the anti-fingerprinting feature calculates the required window size and sets dimensions. Once TST hides the side bar, it's too late, and window dimensions as accessible to web content are not what they should have been.Environment