Closed Bug 360839 Opened 18 years ago Closed 18 years ago

Expose pref for saving session state

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino1.5

People

(Reporter: stuart.morgan+bugzilla, Assigned: froodian)

References

Details

(Keywords: fixed1.8.1.2)

Attachments

(2 files)

4.01 KB, patch
bugzilla-graveyard
: review+
alqahira
: review+
stuart.morgan+bugzilla
: superreview+
Details | Diff | Splinter Review
9.46 KB, application/zip
alqahira
: review+
Details
Once we do something sane in the crash case (bug 358689), we need a GUI pref for automagic session save/restore (camino.remember_window_state).
Target Milestone: --- → Camino1.1
Whiteboard: [Good First Bug]
We'll need to do this before b1 if it's to make 1.1.
Flags: camino1.1b1?
Depends on: 363600
Per IRC, blocking b1.
Flags: camino1.1b1? → camino1.1b1+
Ian and I discussed some wording along the lines of

When Camino opens: [x] Restore the pages I was viewing when I quit

The wording's not great yet, but I think that's a viable ballpark.  The thing we have to be very careful about is length; we can't make the left side much longer than it already is in General, but we also need the right side to not be too long.
Another thing we have to think about is making it clear that having this pref on stomps the "homepage in new window" pref when launching the app (unless we decide that that's a bug and change that).
(In reply to comment #4)
> Another thing we have to think about is making it clear that having this pref
> on stomps the "homepage in new window" pref when launching the app

I don't follow; what pref is this, and how is it stomped?
Attached patch PatchSplinter Review
Assignee: nobody → stridey
Status: NEW → ASSIGNED
Attachment #252946 - Flags: review?(bugzilla)
Attached file New Navigation.nib
This uses the string in comment 3 (and should therefore probably get textual polish).
Attachment #252947 - Flags: review?(alqahira)
Comment on attachment 252946 [details] [diff] [review]
Patch

r=me pending a successful test by Smokey of both code and nib changes.
Attachment #252946 - Flags: review?(bugzilla) → review+
Comment on attachment 252947 [details]
New Navigation.nib

r=ardissone, but please make the min height = current height on checkin

Anyone have any better ideas for the text?  It's OK, but it doesn't sound quite as polished as our usual efforts ;)
Attachment #252947 - Flags: review?(alqahira) → review+
cl suggested 

When Camino opens: [x] Load the pages I was viewing when I quit

which keeps the same verbs as the other prefs there, and sounds better (as well as removes ambiguity of "restore", since we don't actually restore page state, scroll position, DHTML, etc.).  

We'd both prefer something that removed the first person there, if possible.
When opening Camino: [x] Load the pages from the last time it was open

When Camino starts: [x] Load the pages that were open before quitting


Ian thinks the latter is the best suggestion so far.
Comment on attachment 252946 [details] [diff] [review]
Patch

sr=smorgan with:
When Camino starts: [x] Load the pages that were open before quitting
Attachment #252946 - Flags: superreview?(stuart.morgan) → superreview+
Whiteboard: [Good First Bug] → [needs checkin with new text]
Checked in on trunk and MOZILLA_1_8_BRANCH with new text (comment 12) and min height fix (comment 9)
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1.2
Resolution: --- → FIXED
Whiteboard: [needs checkin with new text]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: