Bug 100094 - Reconnect using old tabs impossible after n reconnect attempts.
Summary: Reconnect using old tabs impossible after n reconnect attempts.
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-23 15:38 UTC by JPD
Modified: 2005-05-27 16:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch, that partially fixing this problem. (12.75 KB, patch)
2005-05-27 16:40 UTC, Alex Gorbachenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JPD 2005-02-23 15:38:41 UTC
Version:           0.16 #2075 (using KDE 3.3.2, Gentoo)
Compiler:          gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.10-gentoo-r6

I mentioned this in the channel the other day and forgot about it till someone else mentioned it yesterday. No one has filed a bug report yet so here it is.
The timeout for automatic reconnect is adjustable but the number of attempts is not. After n reconnect attempts, Konversation gives up. Once Konversation has given up there is no way to make it reconnect using the old tabs. One must reconnect manually which opens a new server tab and a new set of channel tabs (if there are autojoin channels).
Possible solutions would be adjusting the reconnection attempts or on manual reconnect reuse tabs if they are available. There are quite probably better ways but I thought I would mention what came to the top of my mind.

Cheers and thanks for Konvi, its terrific.
Comment 1 Ismail Donmez 2005-02-23 20:05:33 UTC
This is one of the TODO in code itself.
Comment 2 Alex Gorbachenko 2005-05-27 16:40:00 UTC
Created attachment 11225 [details]
patch, that partially fixing this problem.

patch, that partially fixing this problem.
Comment 3 Ismail Donmez 2005-05-27 16:54:55 UTC
SVN commit 418732 by cartman:

Apply patch by Alex Gorbachenko <alex.gorbachenko@gmail.com> for adding a setting for reconnect count.
Small fixes by me.
CCBUG:100094
CCMAIL:alex.gorbachenko@gmail.com



 M  +2 -0      Makefile.am  
 M  +63 -7     connectionbehavior_preferences.ui  
 M  +1 -1      generalbehavior_preferences.ui  
 M  +11 -0     konvdcop.cpp  
 M  +2 -0      konvdcop.h  
 M  +9 -0      konversation.kcfg  
 M  +2 -0      konversationapplication.cpp  
 M  +2 -0      konviface.h  
 M  +4 -0      preferences.cpp  
 M  +3 -0      preferences.h  
 M  +2 -0      prefspageconnectionbehavior.cpp  
 M  +1 -1      server.cpp  
Comment 4 Ismail Donmez 2005-05-27 16:57:26 UTC
Closing this bug now as we infinitely try to connect and the reconnect count is configurable. FWIW here is the current path :

Try 10 time to reconnect ( 10 is configurable now ) -> Fail? -> Sleep 2 minutes -> Go back and try again.