Bug 271224 - Remove closed tabs from closed tabs page when re-opened
Summary: Remove closed tabs from closed tabs page when re-opened
Status: RESOLVED FIXED
Alias: None
Product: rekonq
Classification: Unmaintained
Component: general (show other bugs)
Version: 0.7.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: 0.9
Assignee: Andrea Diamantini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 18:08 UTC by Todd
Modified: 2012-01-03 17:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2011-04-18 18:08:30 UTC
Version:           0.7.0 (using KDE 4.6.2) 
OS:                Linux

The closed tab page shows recently-closed tabs.  However, if you re-open such a tab then show the closed tabs list again, it is still there.  I think the re-opened tab should be removed from the list since it is no longer closed.

Reproducible: Always
Comment 1 Andrea Diamantini 2011-12-01 06:55:13 UTC
right :D
Comment 2 Andrea Diamantini 2012-01-03 17:30:55 UTC
Git commit 4b363ed35e880a6a74ac7784fcad713c62902f3a by Andrea Diamantini.
Committed on 03/01/2012 at 18:31.
Pushed by adjam into branch 'master'.

improve closed tabs management

- remove reopened tabs from the closed tabs list.
- limit them to MAX 8 elements (it seems enough to me)
- save history also when there is just one tab closed
- DON'T save history when you opened a "rekonq" page

M  +57   -55   src/mainview.cpp
M  +5    -3    src/mainview.h
M  +3    -2    src/mainwindow.cpp
M  +1    -1    src/mainwindow.h
M  +74   -35   src/newtabpage.cpp
M  +1    -6    src/newtabpage.h
M  +9    -7    src/tabbar.cpp
M  +1    -1    src/tabbar.h
M  +1    -1    src/webtab.cpp
M  +2    -1    src/webtab.h

http://commits.kde.org/rekonq/4b363ed35e880a6a74ac7784fcad713c62902f3a