We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Bug: QStandardPaths::ConfigLocation is inconsistent with the other standard locations

asked 2014-03-25 22:35:11 +0300

Artem gravatar image

updated 2014-03-25 22:58:25 +0300

Other locations include binary-name. For example, QStandardPaths::CacheLocation is /home/nemo/.cache/harbour-log4qtdemo Config location, however, points to just /home/nemo/.config

If it is indeed a bug (possibly I just misunderstand *nix standards) and you are going to fix it, please, please, announce the fix before shipping it as the change can break the currently used configs.

P.S.
Actually it's even more funny then that:

  • on emulator cache location reported is /home/nemo/.cache/harbour-log4qtdemo
  • on real device (1.0.4.20) it is "/home/nemo/.cache/harbour-log4qtdemo/harbour-log4qtdemo
edit retag flag offensive close delete

Comments

1

For your last point, this is normal, because that has been changed in 1.0.3.8 while the emulator is still in 1.0.1.11.

The cache path has always been "/home/nemo/.cache/organizationName/applicationName". But before 1.0.3.8, if the organizationName was not set, it was skipped. Now, by default, organizationName = applicationName.

Sthocs ( 2014-03-26 00:30:42 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2014-03-26 11:14:19 +0300

thp gravatar image

As pointed out by Sthocs, this bug is due to the emulator having old packages. It will be fixed with one of the next SDK updates when the emulator and build VM get up-to-date packages.

As a workaround, you could try installing newer packages (in that particular case, it's a newer version of libsailfishapp) into the Emulator VM, but that's unsupported.

edit flag offensive delete publish link more

Comments

@thp that is about the last point only, right (from P.S.)? What about config location? Should it really be just /home/nemo/.config while all other locations include organization and app name?

Artem ( 2014-03-26 11:18:58 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2014-03-25 22:35:11 +0300

Seen: 236 times

Last updated: Mar 26 '14