Bug 492153

Summary: GMIC-Qt will not start and I get an error message.
Product: [Applications] krita Reporter: donlee.ohhh
Component: G'Mic for KritaAssignee: vanyossi <ghevan>
Status: RESOLVED FIXED    
Severity: normal CC: halla, penguinflyer2222
Priority: NOR Keywords: triaged
Version: 5.2.3   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Alert window that pops up in place of G'MIC-Qt.
attachment-3269381-0.html
attachment-3649111-0.html

Description donlee.ohhh 2024-08-25 07:00:32 UTC
Created attachment 172920 [details]
Alert window that pops up in place of G'MIC-Qt.

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY: G'MIC
Qt will not start 

STEPS TO REPRODUCE
1. go to filters & select "Start G'MIC-Qt" 
2. -NA-
3. -NA-

OBSERVED RESULT
A window pops up with the message "The GMic plugin is not installed or could not be loaded." This happens every time I attempt to load the Krita app, even after a fresh re-start. The previous version of Krita 5.2.2's G'MIC-Qt works fine.

EXPECTED RESULT
I expected the G'MIC-Qt menu to load

SOFTWARE/OS VERSIONS
Windows: 
macOS: Ventura 13.6.9
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
-Krita 5.2.3 takes much longer to load than 5.2.2 
-Krita 5.2.2 has no trouble loading G'MIC-Qt.
Comment 1 Halla Rempt 2024-08-25 09:20:58 UTC
I cannot confirm either issue; With 5.2.3 I can open g'mic, and krita starts just as quickly as 5.2.2 for me on my macbook pro m1 with Sonoma.
Comment 2 donlee.ohhh 2024-08-25 09:24:06 UTC
Created attachment 172930 [details]
attachment-3269381-0.html

My computer is an iMac 2020 3.8 GHz 8-Core Intel Core i7

On Sun, Aug 25, 2024 at 5:21 AM Halla Rempt <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=492153
>
> Halla Rempt <halla@valdyas.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |halla@valdyas.org
>            Keywords|                            |triaged
>
> --- Comment #1 from Halla Rempt <halla@valdyas.org> ---
> I cannot confirm either issue; With 5.2.3 I can open g'mic, and krita
> starts
> just as quickly as 5.2.2 for me on my macbook pro m1 with Sonoma.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Halla Rempt 2024-08-25 09:58:03 UTC
Thanks for the information. I checked on my old (2015) macbook pro and I could reproduce the issue. I guess we don't make fat binaries for this plugin anymore after switching how we automate release builds. Ivan, can you take a look?
Comment 4 Freya Lupen 2024-08-25 13:31:54 UTC
I noticed the issue with ARM-only G'MIC myself the other day, but it seems to have been fixed in the Nightly builds, could you confirm that?
Comment 5 vanyossi 2024-08-26 14:09:43 UTC
I can confirm we are not building Fat binaries for plugins since the deps upgrade. The fix should be available on next release
Comment 6 donlee.ohhh 2024-08-26 17:53:30 UTC
Created attachment 172982 [details]
attachment-3649111-0.html

Ok, thanks for the update.

On Mon, Aug 26, 2024 at 10:09 AM vanyossi <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=492153
>
> vanyossi <ghevan@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|ASSIGNED                    |CONFIRMED
>
> --- Comment #5 from vanyossi <ghevan@gmail.com> ---
> I can confirm we are not building Fat binaries for plugins since the deps
> upgrade. The fix should be available on next release
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 7 vanyossi 2024-08-27 19:15:05 UTC
Git commit dadc7de923f4741c549a9752d3691a891e05cfa1 by Ivan Yossi.
Committed on 27/08/2024 at 19:14.
Pushed by ivany into branch 'master'.

macos: build plugins as fat binaries

M  +5    -0    build-tools/ci-scripts/build-plugins.py

https://invent.kde.org/graphics/krita/-/commit/dadc7de923f4741c549a9752d3691a891e05cfa1