Where are tab history saved?

Asked by kimpilo

I'm using DC++ 0.770, and have a problem with it auto-opening old tabs. In this case, the most problematic is that it reopen a tab for a 4th site that I once visited. Since all my sites have a strict policy of just allowing you to connect to 3 sites at once, I automatically get booted out of every place each time I start DC++, and I need to manually reconnect just the ones I want.

I've tried closing the tab and restarting DC++. There's no crashes, but it still remembers the 4th site and opens that. I only have 3 sites set in the autostart tab.

Is there some list where it saves old tabs that I can edit or remove manually? Its super annoying that I just can't have DC++ auto start.

If possible, I'd also like to be able to purge old file-list windows from opening since those are also super-annoying that they pop up at each start, although they are 'only' from last session instead of permanent.

Question information

Language:
English Edit question
Status:
Solved
For:
DC++ Edit question
Assignee:
No assignee Edit question
Solved by:
kimpilo
Solved:
Last query:
Last reply:
Revision history for this message
eMTee (realprogger) said :
#1

>I've tried closing the tab and restarting DC++. There's no crashes, but it still remembers the 4th site and opens that. I only have 3 sites set in the autostart tab.

This can't happen if the settings files are correclty saved at exit (to the place they will be read in startup). Your OS? If its Vista+ make sure your settings files aren't in the Program Files folder ( https://answers.launchpad.net/dcplusplus/+faq/92 )

For the rest, the answer is in various recent questions about this topic...

Revision history for this message
kimpilo (kimpilo) said :
#2

My OS on the 'server' that runs DC++ is currently windows xp, so I don't think it should be a problem with access rights.

What file might the tabs be saved to? I looked through what I could find but didn't see anything obvious mentioning the site name.

Revision history for this message
kimpilo (kimpilo) said :
#3

Hmm, I assume it is in the c:\documents and settings\<user>\Application Data\DC++ folder and one of the xml-files. But I don't see any named entry for the rogue hub.

Revision history for this message
eMTee (realprogger) said :
#4

The list of tabs to be reopened at start is in DCPlusPlus.xml, inside the <Window> node. If an entry for the hub in case is not there then the only possible way of the reopening is that the hub is in the favorites and the hub group it belongs is set to autostart.

Revision history for this message
kimpilo (kimpilo) said :
#5

Thanks, I was able to try it.

Incidentally, I also tried holding down shift while starting the program. And that for some reason cleared up the 4th hub after I restarted it again (but regular shutdowns did not).