After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144791 - set history longevity
set history longevity
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: History
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
: 148397 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-06-22 00:10 UTC by Christian Persch
Modified: 2012-03-08 00:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
untested, backend-only patch (4.92 KB, patch)
2004-09-14 22:01 UTC, Christian Persch
needs-work Details | Review

Description Christian Persch 2004-06-22 00:10:42 UTC
<chpe> mpt: your design has a setting for history length; ephy hardcodes this to
10days. do you think ephy needs that setting ?
<mpt> chpe: Well, for Internet cafes for example, you'd want it to be 1 day
<mpt> Back when I used Netscape, I set mine to 365 days...
<chpe> why not completely disable history there ? (we have a lockdown setting
for that)
<mpt> Because you still want links to look visited for the same customer, at least
Comment 1 Christian Persch 2004-09-14 22:01:00 UTC
Created attachment 31562 [details] [review]
untested, backend-only patch
Comment 2 Christian Persch 2004-10-13 10:52:38 UTC
Mass reassigning of Epiphany bugs to epiphany-maint@b.g.o
Comment 3 Keywan Najafi Tonekaboni 2004-10-16 09:35:59 UTC
<chpe> why not completely disable history there ? (we have a lockdown setting
for that)

the lockdown option is not usable, because you cant use the back-buttons. for
example you search with google, click on one of the results, but this was not
what you searching for. now you cant click back :-/

possibility setting history lifetime is a good step and has also advantages for
most user. e.g i would prefer a higher bookmark save time, like one month.

but for internet cafes (i am admin of one) a session based history would be
perfect. if you close the epiphany window or the last window it forgets the history.

of course this icafe options should be only in gconf, because they are not
interesting for every user and shouldnt exploit the preferences.
Comment 4 Christian Persch 2004-11-11 21:26:21 UTC
*** Bug 148397 has been marked as a duplicate of this bug. ***
Comment 5 spark 2004-12-16 00:22:32 UTC
chpe, do we want to move forward on this? should we get the opinion of a UI guy?
Comment 6 Christian Persch 2004-12-16 13:34:29 UTC
Yes, I think we should ask a UI guy.
Comment 7 spark 2004-12-16 13:53:17 UTC
cc'ing clarkbw for UI guidence...
Comment 8 Bryan W Clark 2004-12-16 19:41:41 UTC
From what I've observed most icafe's use what Keywan was describing where they
lockdown settings by the session and not by the time.  User's pay for a session
of use of the computer and then all evidence of their use is discarded after the
session is over.

People using their computer for personal reasons don't actually want an
expiration date on their history.  I'm guessing we do it for space or speed
concerns.

If the space/speed concerns are true one thing to note of course is that if the
default is changed to some kind of session based pruning it will probably get
busted with laptop users who really only ever suspend their machines.
Comment 9 Christian Persch 2004-12-16 21:09:17 UTC
> I'm guessing we do it for space or speed concerns.
Speed, mostly. The history view used to be very slow with large number of items.
I'm going to try to check if that's still the case with gtk+ 2.6.

Maybe we should limit the number of entries rather than the time they persist?
Say, ~5-10k entries max. ?
Comment 10 Bryan W Clark 2005-02-13 05:12:04 UTC
Sounds like a good plan.  Sorry for not getting back to this.
Comment 11 Sam Morris 2006-02-15 00:55:12 UTC
The history is still very slow. With a full history, the history window takes 12(!) seconds to open on my 1.8 GHz Athlon XP.

There is also a speed hit when creating new windows and, I think, tabs; I can't test that conclusively however since I didn't save my history before wiping it to confirm the history window observation (oops!)
Comment 12 Bastien Nocera 2006-06-05 12:49:14 UTC
Limiting the number of entries sounds like a better idea than limiting in time. Launch Ephy, close it, wait 2 weeks (or go on holidays, or use another computer), and then your history is completely empty.

Wouldn't it be possible to load the history progressively to avoid the long time for the dialogue to show up?
Comment 13 Christian Persch 2006-06-08 19:33:00 UTC
Limiting the size rather than time should be easy to fix, look in embed/ephy-history.c .

The history dialogue being slow is on account of the sorting of the treeview... progressively loading won't speed that up any.
Comment 14 Wouter Bolsterlee (uws) 2006-10-04 20:23:42 UTC
What about progressively loading in chunks? The trade-off between speed and responsiveness is a hard decision, but it's not really about the exact speed, but rather the "noticed" speed.
Comment 15 Cyril Brulebois 2007-09-12 09:04:43 UTC
So, do we want a configurable (through which tab of Preferences?) max. number of history items? If so, shall I try and implement it?
Comment 16 Christian Persch 2007-09-12 14:46:30 UTC
This can't be done right now, since it depends on the new history backend from SoC (the current backend is too slow with larger history db).
Comment 17 Reinout van Schouwen 2007-09-12 20:35:04 UTC
cc'ing Imran.
Comment 18 Diego Escalante Urrelo (not reading bugmail) 2012-03-07 23:51:31 UTC
Now the history is infinite. We are no longer humans. We are gods.
Comment 19 Sam Morris 2012-03-08 00:37:22 UTC
Limited only by our capacity to arrange the atoms that comprise the hard drives upon which the history is stored.