Closed Bug 481370 Opened 15 years ago Closed 15 years ago

Port Bug 481090 (Session restore should not special-case closed windows on Mac) to SeaMonkey

Categories

(SeaMonkey :: Session Restore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.0b1

People

(Reporter: misak.bugzilla, Assigned: misak.bugzilla)

References

Details

Attachments

(1 file, 2 obsolete files)

Attached patch patch (obsolete) — Splinter Review
From comment of that bug:
See bug 382006 and bug 480874 for various reasons for moving on this.  On Mac,
unlike other platforms, closing windows doesn't exit the app, so it's clearly a
separate action.  If windows are closed directly, rather than the user exiting
the application, we should treat that like they actually closed the window on
purpose.
Attachment #365401 - Flags: superreview?(neil)
Attachment #365401 - Flags: review?(neil)
Attachment #365401 - Flags: superreview?(neil)
Attachment #365401 - Flags: superreview-
Attachment #365401 - Flags: review?(neil)
Comment on attachment 365401 [details] [diff] [review]
patch

nsSessionStore.js isn't preprocessed (yet), and this needs Mac review, e.g. stefanh.
Depends on: 481393
Attachment #365401 - Flags: review?(stefanh)
It makes sense to me, let me just think of the fact that we're opening a new window upon re-launch with a blank page regardless of what we have set to display when you opening a new window. I'm not sure we should honor that, it just came to my mind...
I guess if we are not preprocessing this file we can do something like:

if (!/Mac/.test(navigator.platform)) {
  .....
}
Attachment #365401 - Flags: review?(stefanh) → review+
Comment on attachment 365401 [details] [diff] [review]
patch

( I assume that Neil minused this because the dependent bug wasn't resolved)

I'm not really familiar with this code, but I've tested this in a couple of scenarios and it works fine. And Smokey told me that only 2 Camino users have said that they wanted their previous opened windows restored :-)

Maybe it's my mac bgr, but isn't the non-mac implementation a bit odd when it assumes that you want your last closed window(s)if you have closed all your non-popup windows and just have popup windows opened?
Attachment #365401 - Flags: superreview- → superreview?(neil)
Attachment #365401 - Flags: superreview?(neil) → superreview+
Comment on attachment 365401 [details] [diff] [review]
patch

>+#endif
>+
Nit: extra blank line belongs before the #endif
Attached patch for checkin. nits fixed (obsolete) — Splinter Review
Attachment #365401 - Attachment is obsolete: true
Attachment #365854 - Flags: superreview+
Attachment #365854 - Flags: review+
carrying forward r+ sr+ from Neil
Keywords: checkin-needed
actuall r+ from Stefan, sorry.
Sorry, previous patch was identical to first. Carrying forward r+/sr+ from Stefan/Neil
Attachment #365854 - Attachment is obsolete: true
Attachment #365884 - Flags: superreview+
Attachment #365884 - Flags: review+
http://hg.mozilla.org/comm-central/rev/7bfd2406b167
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Component: UI Design → Session Restore
QA Contact: ui-design → session.restore
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: