Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 531108

Summary: www-client/qtweb-3.8.5 does not store imported bookmarks
Product: Gentoo Linux Reporter: groovallegiance
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: asturm, c.apeltauer, vereecke.jan
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch correcting storage location for Unix systems

Description groovallegiance 2014-11-29 09:36:22 UTC
Imported bookmarks are not stored by QtWeb and lost after restarting the browser. After a restart the browser shows its default bookmarks.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-23 12:29:51 UTC
*** Bug 533370 has been marked as a duplicate of this bug. ***
Comment 2 Christian Apeltauer 2015-04-19 09:31:15 UTC
Created attachment 401596 [details, diff]
Patch correcting storage location for Unix systems

The problem is in function BrowserApplication::dataLocation()
in src/browserapplication.cpp, line 930. It tries to store application data in the folder of the application binary, on Unix-like systems that is /usr/bin which is not writeable for  normal users.
The patchsets the data location to ~/.local/share/data/QtWeb.NET/QtWeb\ Internet\ Browser/.
A deeeper cause for the problem could be that s_portableRunMode is set to true.
The patch remedies also the problem that preferences are stored in the temporary directory. On Unix-like systems that is /tmp, which is not guaranteed to survive a reboot. Preferences are now stored in ~/.local/share/data/QtWeb.NET/QtWeb\ Internet\ Browser/QtWeb.NET/QtWeb\ Internet\ Browser.ini
Comment 3 Andreas Sturmlechner gentoo-dev 2017-03-03 00:22:51 UTC
Should this package better be removed? Still depends on highly vulnerable Qt4WebKit, does not look as if there is any upstream left to pick up the phone (and accept patches, for that matter).
Comment 4 Michael Palimaka (kensington) gentoo-dev 2017-07-04 13:39:36 UTC
Package removed.