Bug 477295 - can't save or edit gradient tool patterns
Summary: can't save or edit gradient tool patterns
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 5.2.1
Platform: Snap Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-20 18:44 UTC by MAINIE Zhuma
Modified: 2023-11-22 18:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MAINIE Zhuma 2023-11-20 18:44:03 UTC
SUMMARY
***
When i click on "add" button in the fill gradient option and then click on "OK", an error message pop up saying "failed to add the ressource.". Same when i attempt to modify an already existing pattern by clicking on "edit" button, it say then : "failed to overwrite the ressource.".
***


STEPS TO REPRODUCE
1. open a Krita file
2. select the gradient tool
3. go to the gradient pattern selection
4. click on "add" button / click on "edit" button
5. modify what you want, if you want in the gradient pattern shown
6. click on "OK" button

OBSERVED RESULT
an error pop-up is shown.

EXPECTED RESULT
the gradient pattern is saved.

SOFTWARE/OS VERSIONS
Linux distribution : Ubuntu 22.04.3 LTS, 64-bit
Gnome version : 42.9
KDE Frameworks Version : 5
Qt Version : 5.15.3
Comment 1 David REVOY 2023-11-20 21:22:40 UTC
Hi, 
I see you use Ubuntu. Have you installed Krita as a Snap package ?
Comment 2 David REVOY 2023-11-20 21:29:04 UTC
Note: I can't reproduce with 5.2.1 or 5.2.0 appimage version on https://krita.org/en/download/krita-desktop/

Can you test with it? (you can find a how-to use appimage here: https://www.davidrevoy.com/article322/krita-appimage-for-cats )
Comment 3 MAINIE Zhuma 2023-11-21 08:44:49 UTC
(In reply to David REVOY from comment #1)
> Hi, 
> I see you use Ubuntu. Have you installed Krita as a Snap package ?

yes, i have installed it as snap package.
Comment 4 MAINIE Zhuma 2023-11-21 08:53:33 UTC
(In reply to David REVOY from comment #2)
> Note: I can't reproduce with 5.2.1 or 5.2.0 appimage version on
> https://krita.org/en/download/krita-desktop/
> 
> Can you test with it? (you can find a how-to use appimage here:
> https://www.davidrevoy.com/article322/krita-appimage-for-cats )

it work fine, thank you ^^.
Comment 5 David REVOY 2023-11-21 19:58:16 UTC
Thank you for testing and the feedback.

It looks very opaque to know who is in charge of the Snap of Krita. From https://snapcraft.io/install/krita/ubuntu , the 'contact' is Krita.org, so I guess the Krita devs maintain it? I'll ask them on the IRC dev channel. I wish I could find an email of the person who made the Snap so I could report the issue and ask them to allow the package to get enough permission to save resources like gradients. I'll investigate.
Comment 6 Scarlett Moore 2023-11-22 13:10:36 UTC
Looking into the snap.
Comment 7 Scarlett Moore 2023-11-22 13:33:57 UTC
I am not getting the same error. I get a popup that asks me if I would like to overwrite. Can you please give me some more details such as a screenshot of error. Version of the snap. Open Krita via the terminal /snap/bin/krita and repeat the process and then paste the terminal output here. Thanks, Scarlett
Comment 8 MAINIE Zhuma 2023-11-22 18:57:07 UTC
(In reply to Scarlett Moore from comment #7)
> I am not getting the same error. I get a popup that asks me if I would like
> to overwrite. Can you please give me some more details such as a screenshot
> of error. Version of the snap. Open Krita via the terminal /snap/bin/krita
> and repeat the process and then paste the terminal output here. Thanks,
> Scarlett

it corrected today, so... i think it's good. thank you all. ^^