Resizing Tor Browser window ruins default screen size, leaking it
The automated resize of Tor Browser window when using a tiling window manager loses the preset default screen size. Not specifying a Tor Browser version because this is a problem for current, 5.0.2 Tor Browser version, but goes back to many older versions.
Problem can be seen on Linux with dwm-6.0 window manager.
Steps to reproduce:
-
Set dwm to tiled mode. Default hotkey for this is Alt-t. dwm is in tiled mode by default.
-
Make sure there are no other open windows on screen.
-
Start Tor Browser. Its window will take all available screen space (since there are no other windows, see 2.) By default it will set screen size to 1000x600, as reported by https://panopticlick.eff.org
-
Open some other window.
-
Window of Tor Browser gets automatically resized, so the new window can fit in.
-
Make sure the Tor Browser window is active (has focus).
-
Switch the dwm layout to monocle (full screen, so active window takes all available space and covers up all other windows). Default hotkey for this is Alt-m.
-
Notice the Tor Browser window expanding back to full screen, yet screen size expanding as well and eating up all available space inside the browser window. After this step, https://panopticlick.eff.org reports a modified, bigger screen size.