Opened 3 years ago

Last modified 2 years ago

#24618 new defect

Tor Browser doesn't prevent maximizing windows

Reported by: cypherpunks Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Tor Browser only shows a "helpful" message after the damage has been done. It should prevent maximizing the window in the first place (at least show a "are you sure" confirmation dialog).

Maximizing can accidentally happen with window managers, when a window is moved to the screen edge or the title bar is accidentally double-clicked.

In a virtual machine, or using certain app panels, the screen resolution can be fairly unique.

Child Tickets

Change History (1)

comment:1 Changed 2 years ago by cypherpunks

On Linux at least (with Xorg), it's easily possible to force a window to remain its current size. The Xephyr nested X server has the option to do that with its own windows. Firefox could be patched to do the same. I do not know exactly how it does it, but I imagine through the X11 API.

It looks like this can be done opportunistically for supported WMs with XSetWMNormalHints().

Last edited 2 years ago by cypherpunks (previous) (diff)
Note: See TracTickets for help on using tickets.