Summary: | Krita forgets existing preset tags on every restart | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Tyson Tan <tysontanx> |
Component: | Usability | Assignee: | Halla Rempt <halla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | griffinvalley, halla, portnov |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | http://commits.kde.org/calligra/6fa0e0d14d1b31f317c29d10c75b4520bbf735aa | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Brush Preset docker doesn't display tags |
Description
Tyson Tan
2015-01-06 03:11:40 UTC
Yes, I can confirm. Somehow the tag _is_ present, it's just now shown in the list. But I can select a test tag in the favourites after restarting krita, and it shows the right presets. I'm suspecting that the background loading of resources implemented in 880bb7627174158daf38fe1c3c89770cbba748cc is the culprit. @Boud. OK, thank you for looking into this! BTW, I was very sleepy while reporting this, and thus forgot to mention that the following text actually refered to what happened in Brush Preset docker. "After a restart, the "Tag" dropdown list becomes empty, same does the context menu. I cannot assign an existing tag to any tool without making a new one. However, after creating a new tag with the same old name, it actually has everything that I assigned to it before. " Git commit 18478bb5d80bc9b0cfc8718709d11cca002efddd by Boudewijn Rempt. Committed on 08/01/2015 at 14:25. Pushed by rempt into branch 'calligra/2.9'. Fix loading the favorite presets for the popup palette. Only initialize the popup palette when we need the actual resources, instead of in the constructor. In the constructor, the presets aren't all loaded, so it's hit and miss which ones are in the popop. M +28 -20 krita/ui/kis_favorite_resource_manager.cpp M +6 -0 krita/ui/kis_favorite_resource_manager.h http://commits.kde.org/calligra/18478bb5d80bc9b0cfc8718709d11cca002efddd Thank you! I can confirm the popup palette is automatically loading again. Now all we have left is the problem with Brush Preset docker. I'm working on that :-) Git commit 2cad556a5d1c6890cb06741b4196c751bffbabf9 by Boudewijn Rempt. Committed on 10/01/2015 at 15:53. Pushed by rempt into branch 'calligra/2.9'. M +4 -0 libs/widgets/KoResourceServer.h http://commits.kde.org/calligra/2cad556a5d1c6890cb06741b4196c751bffbabf9 It's all OK now, thank you! :) Sorry, the first time I started Krita the Brush Preset docker did seem to be fixed, however, under real-use circumstance I found the problem has not been fixed and with new problem appeared. I don't know why, but the first time I started Krita after the last commit, the Brush Preset docker did display all tags. But after a restart the tags were gone. Krita always load the default Favorite Preset as the new ones I created cannot be detected. What's worse, even if I manually create a new tag with the same old name, and it still holds the tools I assigned to it before, but the Popup Palette just cannot load it, even when I did it manually. I can confirm Tyson's observations. The pop-up palette worked for me, it's now not even switching tags. Git commit 1b338fde5b5391c5be4e5329ea5a764fb6d77b31 by Boudewijn Rempt. Committed on 12/01/2015 at 15:14. Pushed by rempt into branch 'calligra/2.9'. M +2 -1 krita/ui/kis_favorite_resource_manager.cpp http://commits.kde.org/calligra/1b338fde5b5391c5be4e5329ea5a764fb6d77b31 Created attachment 90380 [details]
Brush Preset docker doesn't display tags
Thank you for fixing the Popup Palette loading issue. However, the Brush Preset docker problem is still there. The drop-down menu shows no tags after each restart. Neither does the right-click > assign to tag menu over the brushes.
I have to create the same tag again to get it displayed.
There is a workaround I can use to make tags appear again without creating them again: 1. If Popup palette was loading tag A the last time I closed Krita; 2. Start Krita, manually load tag B onto the Popup palette; 3. Check Brush Preset dock's menu and I will see all my tags returned. * Does not work if I checked Brush Preset before manually loading a tag. After a series of success, the trick I mentioned in Comment 12 failed to work. I was only able to make it work again by rebooting the system (or log out / log in). After the reboot, I found Krita can actually display all tags this time, but only on the first session. With all tags being shown in the Brush Preset docker, if I load tag B onto the Popup Palette, it would actually disappear from the docker. If Krita was loading tag B instead of the default Favorite Presets when I closed it, Brush Preset docker in the next session would display nothing unless I recreate a tag. Maybe, it was actually triggered by changing what to be loaded to Popup Palette on the next launch? Git commit 6fa0e0d14d1b31f317c29d10c75b4520bbf735aa by Stefano Bonicatti. Committed on 13/01/2015 at 19:27. Pushed by stefanobonicatti into branch 'calligra/2.9'. Fix for new tags not loading after restart It was missing a connection between KoResourceModel tagBoxEntryModified event and KoTaggingResourceManager. M +11 -0 libs/widgets/KoResourceTaggingManager.cpp M +1 -0 libs/widgets/KoResourceTaggingManager.h http://commits.kde.org/calligra/6fa0e0d14d1b31f317c29d10c75b4520bbf735aa this works for me! :) Thank you for fixing the bug completely this time, Stefano! :) After a period of usage, I found that the popup palette would still occasionally fail to auto-load my last used tag and fall back to the default favorite tag. It doesn't happen everytime when I restart Krita, but it happens -- once in a few days. So far, I couldn't figure out what triggers the issue. |