Opened 4 years ago

Closed 3 years ago

#15953 closed defect (fixed)

Weird resizing dance on Tor Browser startup

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

Description

This is on Tails feature/jessie branch (GNOME Shell with the Classic set of extensions) with Tor Browser 4.5. Hardware is a Bay Trail tablet, with a 800 (horiz.) x 1280 (vert.) screen according to xrandr.

On startup, Tor Browser does a crazy resizing dance that I have a hard time describing. I'm pretty sure that the window is resized twice, or more. The warning about the dangers of maximizing the window is displayed, but it _very_ quickly disappears (if I wasn't looking specifically for such things, I would have missed it).

Here are the logs that seemed relevant, that I could extract:

Window: (1,1) ?= (1212,800)
Window is normal
called init()
About to resize window: 300x371 inner: 300x300 in state 3 Available: 800x1212
Resized new window from: 800x1000 to 800x1000 in state 3
Mutation observer: Window dimensions are: 798x1000
Mutation observer: Window dimensions are (after resizing again): 800x1000

Once I manage to connect that system to the Internet, I'll report back about http://browserspy.dk/screen.php findings, as requested by Mike Perry.

Child Tickets

Change History (5)

comment:1 Changed 4 years ago by mikeperry

Keywords: tbb-usability added

IMO, the main concerning thing is the maximization warning temporarily being displayed while we are still resizing. At minimum, fixing that should be an improvement here.

comment:2 in reply to:  1 Changed 4 years ago by gk

Cc: gk added

Replying to mikeperry:

IMO, the main concerning thing is the maximization warning temporarily being displayed while we are still resizing. At minimum, fixing that should be an improvement here.

Seems trying to fix that in #7255 failed in this case :(

comment:3 Changed 3 years ago by bugzilla

Parent ID: #19459
Severity: Normal

Good testcase for your patch. Also behavior on screen sizes which are equal to TBB dimensions is a special case to check.

comment:4 Changed 3 years ago by gk

Parent ID: #19459

This ticket is getting fixed by #19459, yes.

comment:5 Changed 3 years ago by gk

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.