Created attachment 112774 [details] [^ screenshot of the bug] Hi, this is a bug seen on Krita Sprint 2018 (sunday afternoon): when double-click on a *.bundle file in filemanager open Krita, but fails to auto-install. To reproduce: ============= 1. Download a bundle on your disk (eg. from https://www.peppercarrot.com/extras/resources/ ) 2. In the filemanager, open the bundle Result: ======= Krita is loading (the file association is done by the system/distro?) then a message displays warning: "Could not open this format, Reason Krita doesn't support this format." (it can be hidden behind the splash screen) Expected: ========= Having Krita loading is fine, but it would be better if the *.bundle could be installed that way too. (eg. Showing the resources manager containing the bundle with a green information message: "bundlename.bundle installed and activated"
Notes from the meeting: * Krita attempts to open a resource bundle because the resource bundle is associated with Krita somehow. NEEDS BUGREPORT! * Can we get the resource manager to pop-up?
Git commit 8fff40a222b006f211e907800b15fe035005a8f6 by Boudewijn Rempt. Committed on 05/06/2018 at 12:19. Pushed by rempt into branch 'krita/4.0'. Copy bundles to the local bundle folder from args If Krita is started with a bundle file as an argument, do not open it, but copy it to the bundle folder. You can also drop a bundle on the mainwindow but it won't be loaded in that case. M +18 -18 libs/ui/KisApplication.cpp M +19 -2 libs/ui/KisMainWindow.cpp M +3 -0 libs/ui/KisMainWindow.h https://commits.kde.org/krita/8fff40a222b006f211e907800b15fe035005a8f6
Git commit f71e7498a91f71f0e5c59ba41edd64a201318ac5 by Boudewijn Rempt. Committed on 05/06/2018 at 12:31. Pushed by rempt into branch 'master'. Copy bundles to the local bundle folder from args If Krita is started with a bundle file as an argument, do not open it, but copy it to the bundle folder. You can also drop a bundle on the mainwindow but it won't be loaded in that case. (cherry picked from commit 8fff40a222b006f211e907800b15fe035005a8f6) M +19 -16 libs/ui/KisApplication.cpp M +18 -1 libs/ui/KisMainWindow.cpp M +3 -0 libs/ui/KisMainWindow.h https://commits.kde.org/krita/f71e7498a91f71f0e5c59ba41edd64a201318ac5