Open Bug 1471094 Opened 7 years ago Updated 3 years ago

Window jumps to the left a few seconds after installing an update

Categories

(Core :: Widget: Gtk, defect, P5)

x86_64
Linux
defect

Tracking

()

Tracking Status
firefox63 --- affected

People

(Reporter: bj, Unassigned)

Details

I sometimes run Nightly full screen, but usually it is in a window touching the right side of my screen (with another program in the left half of that screen in the same workspace). When Nightly updates (three times today) the window is created in the same position. About two or three seconds later the window jumps to the left a few pixels. (And a little later the master password prompt appears.) This has been going in for quite a while/ I'm using XFCE on Ubuntu. If you would like me to reproduce this with a new profile please provide suggestions on how to do that without stopping my normal browser use for several hours and waiting for an update in the new profile.
Does this also happen if you restart Nightly manually, instead of for an update, or do you only see this after an update?
Flags: needinfo?(bj)
Matt, that's an obvious question. I so rarely need to restart Nightly these days I didn't even consider it. I managed to get access to another computer (also Ubuntu with XFCE) and got the same result with XFCE and a new profile on both systems. I also tried the Unity interface on the second computer and the result was different (notes at the end of this comment). Steps to reproduce: Precondition: Using XFCE, start Nightly in a new profile. Place the non-maximized window on the right side of the screen, just below the top tool bar. 1) Restart with Add-ons Disabled... 2) Restart with Add-ons Enabled 3) Restart with Add-ons Disabled... 4) Restart with Add-ons Enabled ... Expected: *) The window is drawn on the top right of the screen and stays there. Actual: Odd) The window is redrawn steps*n pixels to the left of the right side of the screen. (And add-ons are disabled.) Even) The window is redrawn (steps-1)*n pixels to the left of the right side of the screen, and then is redrawn steps*n pixels to the left of the right side of the screen. (And add-ons are enabled.) *) The vertical placement of the window didn't change. (Just below the top tool-bar.) I find it interesting that disabling add-ons make a difference. The only add-ons are the three standard themes (with Default selected) and the OpenH264 plugin. Using the Unity interface: - Starting with add-ons disabled moved the window to the center of the screen. - The window was placed at the top right of the screen. Starting with add-ons enabled moved the window down a few pixels from the top of the screen, but there was no horizontal shift.
Flags: needinfo?(bj)
Yeah, it's pretty common for general startup issues found on Nightly to be filed as update issues, because that's what nightlies are usually being restarted for, so that tends to be the first thing I ask about. But I'm just the installer guy, so let me try to move this to somewhere more relevant. Thank you for the detailed STR, by the way.
Component: Installer → Widget: Gtk
Product: Firefox → Core
Version: 63 Branch → unspecified

I moved to a new computer and a new Firefox (Nightly) profile. I still see this behavior, but it shifts by a larger amount after each update.

Do you have disabled system titlebar? (Customize -> "Title bar" check box at left bottom corner)

Flags: needinfo?(bj)

(In reply to Martin Stránský [:stransky] from comment #5)

Do you have disabled system titlebar? (Customize -> "Title bar" check box at left bottom corner)

Your diagnosis is correct. With the titlebar disabled it jumps further left than with the titlebar enabled. (But in both cases it jumps left more with each restart.)

Flags: needinfo?(bj)

The jump happens about the time the tabs of the pinned tabs first appear in the forming Firefox user interface.

I moved to a new computer (and there have been many updates to Firefox) and the situation has changed. With browser.tabs.drawInTitlebar set to 1 there is no jump, but with browser.tabs.drawInTitlebar set to zero (or 2) there is a one-pixel jump to the left on each restart.

Severity: normal → S3

After the changes in bug 1651463 this issue is unchanged on one system while another system has different incorrect behavior (bug 1834042).

The system with the new behavior:
$ lspci | grep VGA
3:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
21:01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)

The system where the behavior is unchanged with the new Nightly:
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)

The fix for bug 1834042 means I no longer see the jump on one computer, but it still happens on the second computer.

You need to log in before you can comment on or make changes to this bug.