Summary: | Favorite presets are reset to 10, from time to time | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | mvowada <freebox64> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chrjs, griffinvalley, halla, sven.langkamp, tysontanx |
Priority: | NOR | ||
Version First Reported In: | 2.9 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/5485cd725a656d1c9116a7ac0eb95cbf5dec845d | Version Fixed In: | |
Sentry Crash Report: |
Description
mvowada
2015-02-26 23:43:28 UTC
I am suspecting that there's some timing issue going on with kritarc, since this bug has appeared just after UI loading became asynchronous. *** Bug 345137 has been marked as a duplicate of this bug. *** Git commit 5485cd725a656d1c9116a7ac0eb95cbf5dec845d by Boudewijn Rempt. Committed on 29/05/2015 at 09:06. Pushed by rempt into branch 'calligra/2.9'. Related: bug 10 The problem was that the old way of saving favorite presets (by name) saved a config entry called favoritePresets. We also stored the number of slots in a config entry called favoritePresets. If we'd try to restore that number, chances are we'd be reading a string with preset names instead. It's kinda hard to interpret "Fuzzy_textured" as a number... So we'd go back to the default of 10. M +2 -2 krita/ui/kis_config.cc http://commits.kde.org/calligra/5485cd725a656d1c9116a7ac0eb95cbf5dec845d Still resetting randomly here. When it resets, it change the current tag to Favortite Presets as well. This little glitch is driving me crazy XD. This happened twice today here. One time after I rebuilt Krita, the other time after I cleared recent document list and restarted Krita. It can happen after a few Undo/Redo cycles or switching tools as well. Nothing about the presets and tags changed before/after. Does this strike something to you? Maybe I was talking about another bug here...what I encountered was: Krita randomly resets Favorite preset tag. All presets previously removed from "Favorite Preset (default)" tag will be re-added when the reset happens. However, user added ones will be kept. If the currently in-use tag is another one, Krita will automatically switch to Favortite Preset (default) tag in the popup palette. I could never reliably reproduce the reset, but it happens daily, very, very often. It can happen after Krita rebuit/reinstall, clear recent document list, Undo/Redo cycles...or even barely restarting the system or Krita itself. It feels very random. Hm, but that's a different thing, right? This bug was about the number of items in the favourites popup being reset. The selected tag being reset is something different, and dashed hard to track down... Do we have already a separate bug for that? I'm so behind with bug triaging... Preset number reset and favorite preset reset would indicate that the kritarc settings are lost and it falls back to the default settings. |