QStandardPaths::writableLocation returns a non writable dir for click apps

Bug #1437552 reported by Renato Araujo Oliveira Filho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On my application I want to save some data in the app writable directory. To retrieve this directory I am using QT API.

QStandardPaths::writableLocation(QStandardPaths::CacheLocation)

this returns "/home/phablet/.cache/trakt.touch/" but looks like I can not write on this dir from a click app.

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Just noticed that you need to set MainView.applicationName with the same name used in manifest file.

Changed in qtmir:
status: New → Invalid
Michał Sawicz (saviq)
affects: qtmir → qtmir (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.