Closed Bug 789450 Opened 12 years ago Closed 9 years ago

Chat Tab doesn't stay open when re-opening Thunderbird

Categories

(Thunderbird :: Instant Messaging, defect)

17 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 45.0

People

(Reporter: foudil.newbie+bmo, Assigned: foudil.newbie+bmo)

References

()

Details

Attachments

(1 file, 4 obsolete files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Build ID: 20120828083304

Steps to reproduce:

1. start  Thunderbird
2. open Chat Tab
3. quit Thunderbird
4. start Thunderbird again


Actual results:

Chat Tab is not (re-)opened


Expected results:

Chat Tab should have been (re-)opened
Attached patch basic implementation (obsolete) — Splinter Review
Since im accounts already have the autoload feature, not sure if we should try to restore (reconnect?) accounts and convs.
Attachment #730099 - Flags: feedback?(florian)
(In reply to foudfou from comment #1)
> Since im accounts already have the autoload feature, not sure if we should
> try to restore (reconnect?) accounts and convs.
I'm unsure if you mean that accounts auto-connect or that you can "auto-join" chatrooms. My guess is that this would be a separate bug, however.

I think it IS wanted though...at least for the backend (and the Instantbird UI) we've wanted to be able to restore everything about a session when restarting [1].

[1] https://bugzilla.instantbird.org/show_bug.cgi?id=307
Patrick, I meant account auto-connecting. The patch in comment 1 addresses the restore of the Chat tab, which this bug is about. Do you suggest the whole session restore (to be defined) should be implemented ? Or should this be handled in another bug ?
(In reply to foudfou from comment #3)
> Patrick, I meant account auto-connecting. The patch in comment 1 addresses
> the restore of the Chat tab, which this bug is about. Do you suggest the
> whole session restore (to be defined) should be implemented ? Or should this
> be handled in another bug ?

That would be a different bug.
Hi all, could anyone provide feedback ? Or should I just request for review ?
Component: Toolbars and Tabs → Instant Messaging
Version: 15 → unspecified
Version: unspecified → 17
Attached patch slightly polished (obsolete) — Splinter Review
I'm not dropping on this guys :)
Assignee: nobody → foudil.newbie+bmo
Attachment #730099 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #730099 - Flags: feedback?(florian)
Attachment #816269 - Flags: review?(florian)
Attached patch reopen chat tab v3 (obsolete) — Splinter Review
Probably my last proposal. I thought of implementing tests, but won't probably be able to do it in the short term.
Attachment #816269 - Attachment is obsolete: true
Attachment #816269 - Flags: review?(florian)
Attachment #8362239 - Flags: review?(florian)
Attached patch v4 with test (obsolete) — Splinter Review
Here's a version with a test inspired from test_folder_pane_persistence_generally_works().
I added a test file in /mail/test/mozmill/im, but it may be better to merge it with test-toolbar-buttons.js, and rename this one to something more general.
Attachment #8362239 - Attachment is obsolete: true
Attachment #8362239 - Flags: review?(florian)
Attachment #8365541 - Flags: review?(florian)
The last 2 attachments are identical here, did you mean to attach a test?
Flags: needinfo?(foudil.newbie+bmo)
Oops, here's the one that includes the test.
Attachment #8365541 - Attachment is obsolete: true
Attachment #8365541 - Flags: review?(florian)
Attachment #8394061 - Flags: review?(florian)
Flags: needinfo?(foudil.newbie+bmo)
(In reply to foudfou from comment #10)
> Created attachment 8394061 [details] [diff] [review]
> v4 with test, really
> 
> Oops, here's the one that includes the test.
Flags: needinfo?(florian)
Flags: needinfo?(florian)
Attachment #8394061 - Flags: review?(florian) → review?(aleth)
Comment on attachment 8394061 [details] [diff] [review]
v4 with test, really

Review of attachment 8394061 [details] [diff] [review]:
-----------------------------------------------------------------

Many thanks for this fix and the test! I've unbitrotted the patch and fixed some minor style nits before checkin. 

Sorry the review was pending for so long!
Attachment #8394061 - Flags: review?(aleth) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 45.0
Depends on: 1248465
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: