Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#8360 closed enhancement (fixed)

Save open chats on quit

Reported by: dan-cn Owned by: zacw
Milestone: Adium 1.3 Component: Adium Core
Version: Severity: normal
Keywords: save on quit session windows tabs Cc:
Patch Status:


It would be great to have an option within Adium to save the open chats on quit--so if you have to restart the computer for some reason, or there's a particularly important chat you want to leave open (or continue later), that chat won't disappear after you quit and reopen Adium. Essentially it would be similar to Saft's option for Safari to "Save opened browser windows upon quit."

Change History (7)

comment:1 Changed 13 years ago by Jordan

Keywords: session windows tabs added
Milestone: Good idea for "later"

comment:2 Changed 13 years ago by John Doe

I need that feature too! thanks

comment:3 Changed 12 years ago by Carlos Morales

comment:4 Changed 12 years ago by Zachary West

Milestone: Good idea for "later"Adium X 1.3
Owner: changed from nobody to Zachary West
Status: newassigned

comment:5 Changed 12 years ago by Zachary West

Resolution: fixed
Status: assignedclosed

(In [23478]) Save and restore opened chats/containers when Adium quits. This is a preference in the General preferences. I'm going to eventually also have it save and restore the HTML of the webkit view, but that's going to take a little bit of thinking. Fixes #8360.

comment:6 Changed 12 years ago by Zachary West

(In [23479]) Call the preference "Save opened chats when quitting" instead of "Save open chats on quit". Refs #8360.

comment:7 Changed 12 years ago by Zachary West

(In [23481]) Save and restore the buffered HTML contents of chats along with their containers. This exposes a few things: <AIMessageDisplayController> gain a way to set or get the contents of the "content source"?\226?\128?\148whatever arbitrary NSString representation of the view they want to store. This is passed back in to "restore" the last save. This also includes a mechanism to state the version/implementation of the "source" so that it doesn't restore the wrong info (i.e., style changes?\226?\128?\148styles are the identifier for the webkit view). AIMessageView gains a mechanism to reveal its <AIMessageDisplayController>.

Someone more familiar with WebKit stuff able to tell me why it doesn't scroll to the bottom where it's set to do so in AIWebKitMessageViewController.m?

Refs #8360.

Note: See TracTickets for help on using tickets.