This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Krita back to Default if it's not shutdown properly

Tags: None
(comma "," separated)
User avatar
gui-m
Registered Member
Posts
74
Karma
1
OS
The docks are returned to default state.
No recent file are showing under Start Page.

Electricity goes off often in my place. So computer
shut down suddenly.
Edit: .kra file was corrupted. however thanks you to .~kra file

Last edited by gui-m on Mon Oct 22, 2018 11:28 am, edited 1 time in total.


Huion GT-221 PRO Windows 10
Linktree
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
That really is a dirty shutdown and it seems to corrupt your configuration files in some way. If you setup krita to your liking then you can save a copy of the configuration files for later restoration in case of this kind of incident.

https://docs.krita.org/en/KritaFAQ.html ... les-stored

The file 'krtitarc' is important and any file there with a name starting with 'krita...' would be useful to save as a backup.

Do you have your docker arrangements stored as a named Workspace and can you see that in the list and select it after this happens?

If this happens often then I'd also make a backup of the entire resources folder, for later restoration, as a precaution.

https://docs.krita.org/en/KritaFAQ.html ... ces-stored
User avatar
gui-m
Registered Member
Posts
74
Karma
1
OS
I tested by making new workspace and turn UPS off directly
Workspace doesn't disappear. So I think default workspace resets.


I reported this because I've not seen in older versions before.
I'm not sure this is bug or not.
If this 's a bug, this 's a rare bug.

Krita 4.1.5


Huion GT-221 PRO Windows 10
Linktree
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
The kritarc file contains a full description of the current docker arrangements, not just a reference to a workspace file. It also contains the list of Recent Files. That seems to suggest that kritarc is being corrupted and then when krita restarts it has to reset kritarc to the default condition. It may be that some other file is being corrupted resulting in krita performing a full reset back to default configuration.

Restoring from a saved copy of the kritarc file (and any other 'krita...' config files) may take care of this and I suggest that you try it.

The fact that it didn't happen in older versions is something a Developer would need to comment on.

It's good that you have a UPS. It sounds like the only thing you can do is perform a manual Save and Exit then shutdown when there is a power cut. I wish you good luck in all of this.
User avatar
gui-m
Registered Member
Posts
74
Karma
1
OS
.kra file was corrupted I think. It's saying invalid.
But thanks to .~kra I got 60% back. It'd be better recovery file save more often.

ahabgreybeard wrote:It's good that you have a UPS. It sounds like the only thing you can do is perform a manual Save and Exit then shutdown when there is a power cut. I wish you good luck in all of this.


I just went and bought new 1250VA UPS today. ^^


Huion GT-221 PRO Windows 10
Linktree


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]