Bug 318152

Summary: Rekonq remembers previously closed tabs on next startup
Product: [Unmaintained] rekonq Reporter: Martin Holec <martin.holec>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED FIXED    
Severity: wishlist CC: enrique_mecklenburg
Priority: NOR    
Version: 2.2.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Holec 2013-04-10 18:44:41 UTC
Rekonq remembers previously closed tabs on next startup, not just last opened tabs.

Reproducible: Always

Steps to Reproduce:
1. Configure in settings "Restore last opened tabs".
2. Open few tabs, close one.
3. Close and rung again Rekonq.
Actual Results:  
You see even closed tabs restored.

Expected Results:  
Do Rekonq what it should do, just "Restore last opened tabs", not closed ones.

I can clean all tabs when I set "open home page" on settings and restart Rekonq.
Comment 1 Andrea Diamantini 2013-04-25 07:07:16 UTC
Someone else called it a feature...
Comment 2 Martin Holec 2013-05-04 17:01:50 UTC
You don't understand. Feature is to remember "last opened tabs" before Rekonq exit. Bug is to remember tabs that was closed explicitly by user using "x" or "ctrl+w".

Reproducible: Randomly

Steps to Reproduce:
1. Configure in settings "Restore last opened tabs".
2. Open few tabs in browser and from external application eg. KMail (have Rekonq set as a default browser).
3. Close some tabs or all of them.
4. Exit and start again Rekonq.
5. Repeat 2.-4. until you reproduce it.

Very annoying is when Rekonq on exit-start opens previously explicitly closed tabs each time. This results in multiplying this formerly closed tabs each startup.

Only workaround is to change in settings "Restore last opened tabs" to something else, restart browser and enable "Restore last opened tabs" again.
Comment 3 Andrea Diamantini 2013-05-05 19:04:20 UTC
I probably understood now ;)
I think this was due to a delayed update of the session manager. This has been fixed in 2.3.0.
Can you please upgrade, test and eventually confirm it?
Comment 4 enrique_mecklenburg 2013-05-06 17:54:34 UTC
Thanks Andrea,

seems to be fixed now in 2.3.0. Restores just opened tabs now.

(In reply to comment #3)
> I probably understood now ;)
> I think this was due to a delayed update of the session manager. This has
> been fixed in 2.3.0.
> Can you please upgrade, test and eventually confirm it?