Bug 439110

Summary: Bundle creation fails silently with non-existent dir path
Product: [Applications] krita Reporter: Alvin Wong <alvin>
Component: Resource ManagementAssignee: amyspark <amy>
Status: RESOLVED FIXED    
Severity: normal CC: amy, dimula73, halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alvin Wong 2021-06-24 11:06:14 UTC
The default save dir is set to `~/Documents`, if it does not exist then saving the bundle just fails silently with "QuaZip::close(): ZIP is not open" being printed to the terminal.

Commit 44078989ea
Comment 2 Dmitry Kazakov 2021-11-10 14:04:11 UTC
This bug seems to still be present in e109a49e80eb47ffed80fafc9503e12a0af5d3df, which is from 2021-11-08
Comment 3 amyspark 2021-11-15 16:03:38 UTC
This isn't actually handled anywhere, write failures are only logged to the console.
Comment 4 amyspark 2021-11-16 15:55:14 UTC
Git commit 36706060f73f39099f609c96334c7146188c0b4f by L. E. Segovia.
Committed on 16/11/2021 at 15:53.
Pushed by lsegovia into branch 'krita/5.0'.

Bundles: report save failure to the user

M  +8    -1    plugins/extensions/resourcemanager/dlg_create_bundle.cpp

https://invent.kde.org/graphics/krita/commit/36706060f73f39099f609c96334c7146188c0b4f
Comment 5 amyspark 2021-11-16 15:56:32 UTC
Git commit 712a8434a4975f29c72823df65b344c0d1c8106f by L. E. Segovia.
Committed on 16/11/2021 at 15:55.
Pushed by lsegovia into branch 'master'.

Bundles: report save failure to the user
(cherry picked from commit 36706060f73f39099f609c96334c7146188c0b4f)

M  +8    -1    plugins/extensions/resourcemanager/dlg_create_bundle.cpp

https://invent.kde.org/graphics/krita/commit/712a8434a4975f29c72823df65b344c0d1c8106f