Closed
Bug 645608
Opened 15 years ago
Closed 15 years ago
If FF Window is minimized and restarted, the window is minimized/maximized then restored
Categories
(Firefox :: Session Restore, defect)
Tracking
()
RESOLVED
FIXED
Firefox 8
People
(Reporter: p225mmx, Assigned: zpao)
Details
Attachments
(2 files)
|
1.57 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
|
1.39 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
If a Firefox window is in a minimized state when Firefox is quit. The next time Firefox is launched the window will go through a quick and odd minimize/restore sequence.
Reproducible: Always
Steps to Reproduce:
1.Minimize a Window
2.Quit Firefox
3.Re-launch Firefox
Actual Results:
On re-launch the Window goes through a quick and odd minimize/restore sequence.
Expected Results:
On re-launch the window is restored without being minimized first.
Comment 1•15 years ago
|
||
Able to reproduce using Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0)
Gecko/20100101 Firefox/4.0 but only if "When Firefox starts" from Preferences->General is set to "Show my windows and tabs from last time".
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: When a Firefox Window is minimized and Firefox is quit then re-launched, the window goes through a quick and odd minimize/restore sequence. → If FF Window is minimized and restarted, the window is minimized/maximized then restored
| Assignee | ||
Comment 2•15 years ago
|
||
Is it safe to assume that you only have one Firefox window open at the time?
Yup just 1 window,
behavior is still present in Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0
| Assignee | ||
Comment 4•15 years ago
|
||
Simple fix.
Comment 5•15 years ago
|
||
Comment on attachment 548957 [details] [diff] [review]
Patch v0.1
Review of attachment 548957 [details] [diff] [review]:
-----------------------------------------------------------------
Not sure it's possible to reasonably write a test for this, so please flag for manual testing. r=me.
::: browser/components/sessionstore/src/nsSessionStore.js
@@ +352,5 @@
> this._sessionStartTime = this._initialState.session &&
> this._initialState.session.startTime ||
> this._sessionStartTime;
>
> + let firstWindow = this._initialState.windows[0];
Actually, I liked it without the temp var, since it's abundantly clear that we're manipulating the data-to-be-restored before the restore happens.
Attachment #548957 -
Flags: review?(dietrich) → review+
| Assignee | ||
Comment 6•15 years ago
|
||
Addressed comments
| Assignee | ||
Comment 7•15 years ago
|
||
Hardware: x86_64 → All
Whiteboard: [inbound]
Version: 4.0 Branch → Trunk
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
| Assignee | ||
Updated•14 years ago
|
Target Milestone: --- → Firefox 8
You need to log in
before you can comment on or make changes to this bug.
Description
•