Bug 371737 - Lost config and bookmarks after update to 2.5
Summary: Lost config and bookmarks after update to 2.5
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
: 371964 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-27 09:54 UTC by Rafael Linux User
Modified: 2024-11-27 12:33 UTC (History)
6 users (show)

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 Rafael Linux User 2016-10-27 09:54:07 UTC
Today I updated Krusader from "2.4 beta 3 single step" to 2.5 version. I lost all krusader config, including my bookmarks and last opened folders.
Comment 1 Rafael Linux User 2016-10-27 10:04:42 UTC
** Removed by KDE Sysadmin due to inclusion of sensitive information **
Comment 2 Alex Bikadorov 2016-10-27 17:29:18 UTC
The path for configuration files changed in general for all KDE5 applications. No files are lost and you can manually copy the files to the new locations.

The main config file for Krusader is saved at
> /home/(user_dir)/.config/krusaderrc

The new directory for additional config files (including bookmarks) is
> /home/(user_dir)/.local/share/krusader

About automatic migration:

The main config file can be easily moved ( https://community.kde.org/Frameworks/Porting_Notes#Migrating_configuration ) but moving all other files must be done manually. This needs some work and must be done properly. I'm unsure if we should really do this. Opinions?
Comment 3 Toni Asensi Esteve 2016-10-28 07:22:53 UTC
>[...] if we should really do this. Opinions?

Probably yes, in my humble opinion :-), because normally, for example after an operating system update, users expect having Krusader with the same bookmarks and other settings. Meanwhile, users can utilize a web page with a basic explanation of how to do the data migration manually. Although it would be a task with less priority than some others that already exist, in my humble opinion :-)
Comment 4 Rafael Linux User 2016-10-28 09:01:21 UTC
I'm sure: YES, it should be an automatic task and transparent for the user. I'm an "experiencied" user and I had been able to fix the problem, but the average user need to update without doing anything more. A bad experience with an application, like to lost suddenly their Krusader bookmarks, for an average user is the best best way to lost him like an user  ;)
Comment 5 Alex Bikadorov 2016-11-02 10:25:55 UTC
*** Bug 371964 has been marked as a duplicate of this bug. ***
Comment 6 Andrej Krutak 2016-11-03 13:43:59 UTC
Especially this should be automagical, since the format of both krusaderrc and bookmarks (perhaps also other files?) are compatible, it should be migrated... In general, users shouldn't have to care about such low-level stuff, and it's only few lines of code, right?
Comment 7 Alex Bikadorov 2016-11-03 14:49:39 UTC
> In general, users shouldn't have to care about such low-level stuff

Yes

>, and it's only few lines of code, right?

No, not really. Migrating the rc file is easy but for everything else:
if (upgraded Krusader):
  create (correct new dir) if not exists yet
  for (all files still used) in (correct old dir):
    move to (correct new dir) if not exists yet

Note for myself: http://doc.qt.io/qt-5/qstandardpaths.html#details
Comment 8 Rafael Linux User 2016-11-04 11:15:03 UTC
Updating: To copy /home/(user_dir)/.config/krusaderrc file to new location doesn't not recover my bookmarks. Just now, I don't know where are my old bookmarks. Definitively, this need a fix.

:(
Comment 9 Alex Bikadorov 2016-11-04 16:04:31 UTC
Bookmarks are in another directory:
Old path: 	/home/{user_directory}/.kde4/share/apps/krusader/
New path:	/home/{user_directory}/.local/share/krusader/
Comment 10 Alex Bikadorov 2024-11-27 12:33:17 UTC
Closing this. Version 2.5 is very old now.