Bugzilla – Bug 488928
Konqueror 4.2 forgets cookies after reboot. Also, Google account cannot be accessed.
Last modified: 2009-03-31 18:30:35 UTC
User-Agent: Mozilla/5.0 (compatible; Konqueror/4.2; Linux 2.6.27.19-3.2-default; X11; x86_64; en-US, en) KHTML/4.2.1 (like Gecko) SUSE I'm using KDE 4.2 and I usually manually update every 1 or 2 days from factory. There is over a month now cookies have started to live (and mostly die) after their own rule. It started with me not being able to access my Google Account (and subsequently the Gmail web interface) from Konqueror (FF works flawlessly). I can log in to Google (i.e. at google.com, and the search history is recorded), but the log in to account page (google.com/accounts/ManageAccount) keeps redirecting to itself. The weirdest thing had yet to be observed: all (or almost all) cookies disappear after rebooting, with no respect to the diff settings I've tried. The remembered cookies (if any then they are very few) are from random sites, and it seems there is no pattern related to the domain name. Konqueror's site policies are remembered, but in Konqueror>Settings>Cookies>Management the list is (almost) virgin after each reboot. As a consequence, I have to relog in to any site I need to after reboot (including those hosted on localhost). Gmail web interface and Google account pages cannot be accessed with Konqueror whatsoever. Reproducible: Always Steps to Reproduce: 1. Just reboot. Actual Results: Konqueror's cookie list is empty or, at best, it contains only a very small number of the cookies existing prior to the reboot. Expected Results: Not to forget the cookies after reboot. I wasn't sure if to fill a report or not. But after a month, someone replied to my post at openSUSE forums saying he faces the same problem.
The link to the openSUSE forums thread is: http://forums.opensuse.org/pre-release-beta/408234-konqueror-4-2-cookies-disappearing-after-reboot.html
I can confirm this behaviour. It seems that there is a problem of communication between Konqueror and kcookiejar. In my case, all the cookies saved in ~/.kde4/share/apps/kcookiejar/cookies do survive after each re-login to KDE4, but Konqueror does not see them, i.e. the list in Konqueror>Settings>Cookies>Management is always empty (no cookies from any sites are ever stored). I run the fresh build of KDE 4.2.1 from http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.1/
I have resolved the problem in my case. It seems it was an inconsistency in numbering versions of the webkit package at some point in time, i.e. newer versions (as appearing in the repositories) had lower versions than the one installed in my computer, so the package was not upgraded by Yast. I can confirm both issues (not being able to access the Google account and the disappearance of cookies after reboot) have gone after upgrading (by timestamp, not by version number) my installed wekbit package. I am expecting Yasha Gindikin's confirmation to close the bug.
I downgraded all the qt libs, including libqtwebkit4, to the versions provided by download.opensuse.org/update/11.1/ (previously packages from download.opensuse.org/repositories/KDE:/Qt/openSUSE_11.1/ were used). This resolved the problem. Many thanks. I would close the bug.