Opened 4 years ago

Last modified 9 months ago

#17061 new defect

Enforcement of browser window size breaks in xmonad

Reported by: sharifolorin Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-fingerprinting-resolution
Cc: Spakman, dcf Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Tor browser version: 5.0.2
xmonad version: 0.11.2
Platform: Arch Linux x86_64

Steps to reproduce:

  • Open Tor Browser in "Full" tiling mode under xmonad.
  • Switch to any other tiling mode under xmonad.
  • Switch back to "Full" tiling mode.

Expected behavior: browser window starts using the standard Tor Browser window size, and remains at that size regardless of what the window manager does.

Observed behavior: browser window starts using the standard Tor Browser window size, but upon switching tiling modes it expands to fill the full screen resolution.

I'm not yet sure specifically what's happening here; does this sound familiar to anyone? Seems like it might be a hint from X11 or the window manager which Tor Browser isn't ignoring, but that's just conjecture.

Attached screenshots before/after tiling change.

Child Tickets

Attachments (2)

torbrowser_before_resize.png (183.0 KB) - added by sharifolorin 4 years ago.
torbrowser_after_resize.png (218.4 KB) - added by sharifolorin 4 years ago.

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by sharifolorin

Changed 4 years ago by sharifolorin

Attachment: torbrowser_after_resize.png added

comment:1 Changed 4 years ago by sharifolorin

Addendum: security level was High, in case that's relevant. (Looks like editing the original ticket isn't a thing I can do?)

comment:2 Changed 3 years ago by gk

Keywords: tbb-fingerprinting-resolution added
Severity: Normal

comment:3 Changed 3 years ago by gk

Status: newneeds_information

Hi sharifolorin! Could you test a 6.5a4 alpha and report back if that fixes your problem? You can find it on ​https://archive.torproject.org/tor-package-archive/torbrowser/6.5a4/. Thanks!

comment:4 Changed 16 months ago by Spakman

I can confirm that this is still a problem with Tor Browser 7.5 and xmonad 0.13 (I'm also using Arch x86_64). Any resizes to the window in either full or floating window mode do not result in using one of the 100px increments that I am expecting.

There is an additional xmonad problem where the initial 1000x1000 size includes the border width, so the reported browser width and height are reduced by the border amount. I'll file a separate bug for that.

I'm really keen to reduce fingerprinting - is there anything else I can provide to help with this?

comment:5 Changed 16 months ago by gk

Cc: Spakman added
Status: needs_informationnew

See: #25454 as well.

comment:6 Changed 9 months ago by dcf

Cc: dcf added

Ccing because I also have noticed windows not taking into account the border size in xmonad.

Note: See TracTickets for help on using tickets.