Window location and size are not remembered when using restore session
Categories
(Firefox :: Session Restore, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox119 | --- | wontfix |
| firefox120 | --- | wontfix |
| firefox121 | --- | wontfix |
| firefox122 | --- | verified |
People
(Reporter: csasca, Assigned: sclements)
References
(Regression)
Details
(Keywords: nightly-community, regression, Whiteboard: [fidefe-firefox-view])
Attachments
(2 files)
Found in
- Firefox 120.0b7
Affected versions
- Firefox 120.0b7
- Firefox 121.0a1
Tested platforms
- Affected platforms: Windows 11, macOS 13.6.1, Ubuntu 22.04
- Unaffected platforms:
Steps to reproduce
- Launch Firefox
- Access a couple websites in new windows
- Modify the height/width of the windows and then exit Firefox via Menu
- Reopen Firefox with the same profile
- Click the Restore Previous Session option from the Hamburger menu
Expected result
- The previous window size and location on screen are preserved as before
Actual result
- The window location and size are not remembered when using restore session
Regression range
- Will see for a regression
Additional notes
- The issue can be seen in the attachment
Comment 1•2 years ago
|
||
:csasca, if you think that's a regression, could you try to find a regression range using for example mozregression?
Comment 2•2 years ago
|
||
I can reproduce the issue on Nightly120.0a1 Windows10
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=df74c724a47d95ff0e380c5ba587c03a25ddd93d&tochange=8737a1c1bc55e77b43e7c6daab1f7882a0b38ce7
Comment 3•2 years ago
|
||
:sclements, since you are the author of the regressor, bug 1820660, could you take a look?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 4•2 years ago
|
||
Thanks for catching that. I'll try to get a fix in for 121.
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
|
||
Thanks for filing the bug. I was able to reproduce this locally, and it looks like what's happening here is that whatever the first window's size is when the browser is closed, that is used to determine the size of all restored windows, not just the first one. I think its due to these window attributes we're transferring over when handling pinned tabs (and was changed in bug 1820660 to handle closedTabs as well) when a session restore is deferred on startup per here.
Comment 7•2 years ago
|
||
Set release status flags based on info from the regressing bug 1820660
Updated•2 years ago
|
| Assignee | ||
Comment 8•2 years ago
|
||
- add new marionette test
Comment 10•2 years ago
|
||
Backed out changeset e1a0d895f3a9 (Bug 1863692) for causing failures in test_restore_manually.py
Log: https://treeherder.mozilla.org/logviewer?job_id=438726936&repo=autoland&lineNumber=15845
Backout: https://hg.mozilla.org/integration/autoland/rev/85e64ef6d1538ecd03a0c9ab416c70e37411a7aa
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•2 years ago
|
Comment 13•2 years ago
|
||
The patch landed in nightly and beta is affected.
:sclements, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox121towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•2 years ago
|
| Reporter | ||
Comment 14•2 years ago
|
||
The issue is fixed on Firefox 122.0a1 (2023-12-07). Tests were performed on macOS 13.6.1, Ubuntu 22.04 and Windows 11.
Description
•