Bug 463014 - Changing resource folder on Android leads to inability to restart Krita and potential data loss
Summary: Changing resource folder on Android leads to inability to restart Krita and p...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Resource Management (show other bugs)
Version: 5.1.3
Platform: Android Android 12.x
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 16:20 UTC by paleh
Modified: 2022-12-13 16:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The result of changing the resource folder and the 2 errors which occur after the restart (351.74 KB, image/jpeg)
2022-12-13 16:20 UTC, paleh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paleh 2022-12-13 16:20:03 UTC
Created attachment 154568 [details]
The result of changing the resource folder and the 2 errors which occur after the restart

SUMMARY


STEPS TO REPRODUCE
1.  In Configure Krita->General->Resources select a new empty resource folder by clicking on the button
2.  Allow Krita access to files when prompted
3.  Restart Krita

OBSERVED RESULT
After the restart Krita fails to launch. It shows two errors: 1 almost immediately and the next one after several minutes (see screenshots). After the second error the application exits. The only way to make Krita start again I could find was to delete the application data through Android settings (hence critical severity) 

EXPECTED RESULT
Krita should initialize and use the the newly set resource folder 

SOFTWARE/OS VERSIONS
Android 12

ADDITIONAL INFORMATION
Tested on the tablet Samsung S6 Lite
Comment 1 Halla Rempt 2022-12-13 16:22:37 UTC
From Krita 5.1.4 (to be release this week), this will be disabled on Android.