Closed Bug 1665259 Opened 4 years ago Closed 5 months ago

weird window position behavior

Categories

(Firefox :: Session Restore, defect)

80 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: wonghow, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

"restore previous session" enabled
start firefox, move the window, close firefox, start firefox again

Actual results:

firefox always starts in the center then move itself to the last saved position

When "restore previous session" disabled which is the default setting. the Window manager places the windows correctly. "restore previous session" enabled, it has this a weird behaviour. No other applications have this problem

Expected results:

firefox should start at the last saved position.

I am on Linux Mint 19.3 I tried Cinnamon setting "location of newly open windows" to "center" and "automatic" both did not make a difference.

Hey How,
I tried reproducing this issue on Ubuntu 18.04 and Ubuntu 20.04 using the latest version of Firefox Nightly 82.0a1 (2020-09-20), beta 81.0 and release 80.0.1 but couldn't reproduce it. The browser was restarted in the same position it was previously left.

Can you test the issue while in Safe Mode. You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .

Also a fresh new profile could help. You can find more about creating a new profile here : https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile .

If possible, you can test this issue on the nightly build as well. Download the build from : https://www.mozilla.org/en-US/firefox/nightly/all/ .

Flags: needinfo?(wonghow)

I tried new profile, disabled plugins, new user, xfce4 all have the same problem.

The safe mode works, is that because there is an initial safe mode dialog that is created first? every time I start safe mode, the window behaviour is gone. What else does safe mode do? I disabled plugins and tried new profile both don't work.

Flags: needinfo?(wonghow)

I accidentally tried one of the firefox command options. --first-startup. this option made the problem disappear. so what does it do? what setting relates to first-startup?

the --first-startup option is actually slower startup

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Session Restore

Yes, I believe it relates to Session Restore.

Possibly a dupe?

Flags: needinfo?(sclements)

I'm not able to reproduce this with automatic session restore enabled.

Status: UNCONFIRMED → RESOLVED
Closed: 5 months ago
Flags: needinfo?(sclements)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.