Closed Bug 953584 Opened 11 years ago Closed 11 years ago

Disable autoLogin if Instantbird last run crashed while connecting

Categories

(Chat Core :: General, enhancement)

0.1.2
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: romain, Assigned: florian)

References

Details

*** Original post on bio 137 at 2008-10-02 17:25:00 UTC *** From bug 953532 (bio 81): "So... we can probably add a ref-counted object that would be instantiated by the first auto-connection. Each auto-connection would add a reference. When the account isn't connecting anymore (connected or connection error), the reference would be removed. Instantiating the object would add a preference (something.autoLoginPending for example). We need to write it to disk immediately (before actually starting the connecting process. When the object is destructed (ref-count == 0), we remove the preference. However, we would flush the prefs to disk with a timer, so that a crash following quickly the connection would still be caught. When starting Instantbird, if this pref exists, then the auto-connect feature will be disabled. We should probably add a message explaining it. We probably want to keep the pref until an account is manually successfully connected or we exit the application without crashing." The message explaining this should be in a notification bar on the account manager window. The pref should be removed when the first account with autoLogin option is connected successfully.
Blocks: 953532, 953583
No longer blocks: 953583
Depends on: 953583
Blocks: 953583
No longer depends on: 953583
*** Original post on bio 137 at 2008-10-02 17:59:07 UTC *** Moreover, we should check for updates when the application crashed and autoLogin disabled.
Depends on: 953586
Depends on: 953591
*** Original post on bio 137 at 2008-10-07 22:36:57 UTC *** > The message explaining this should be in a notification bar on the account > manager window. This is now in Bug 953592 (bio 145)
Blocks: 953586
No longer depends on: 953586
No longer blocks: 953583
*** Original post on bio 137 at 2008-11-06 02:34:35 UTC *** Fixed by the changesets 441:d2ec0e01124b and 443:546bf6e6c112. (In reply to comment #1) > Moreover, we should check for updates when the application crashed and > autoLogin disabled. > We can handle that in another bug.
Assignee: nobody → florian
Target Milestone: --- → 0.1.3
Version: trunk → 0.1.2
*** Original change on bio 137 at 2008-11-06 02:34:47 UTC was without comment, so any subsequent comment numbers will be shifted ***
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.