GNOME Bugzilla – Bug 685664
Visited links are not remembered across browser restarts
Last modified: 2018-03-30 16:25:30 UTC
If I click a link in ephy, it correctly becomes :visited (i.e. purple), and it stays so across navigations and closing/opening tabs, but if I restart the browser all links turn blue again. In case it matters, the history db correctly contains the visited link across restarts too. This is with WebKit bc3a52c5baa6fafa88e8902ca2f07c65e38cac3d (1.11.0), epiphany 3.6.0-28-gd6fc316, with webkit 1.
We need an API in WebKit to tell it about previously visited sites (seems that it would not scale very well) or to allow it to query us for each new link it finds.
Yeah, I digged into code and noticed that the GTK implementation is very basic and never stores that information persistently. For reference, chromium and qt use a pull approach (for each link, they check the platform specific history), while safari loads the full database at startup. Additionally, it seems that the only hook in WebKit2 is WKContextHistoryClient.populateVisitedLinks, which implies loading everything at startup. (Btw, in WebKit2 visited links seem to be completely broken, as they always stay blue, even though there is code to handle them at least transiently)
I opened https://bugs.webkit.org/show_bug.cgi?id=113583 to add webkit-gtk support.
This is a mass NEEDINFO of all Epiphany bugs with no activity in the past three years. I'm going to be automatically closing old bugs to help us focus on current problems. If you feel this bug is still relevant with Epiphany 3.26 or newer, then please leave any comment here so that I know not to close this one.
This is a mass-close of old bugs currently in the NEEDINFO state. If you think this bug is still relevant, please leave a comment.