Bug 499429

Summary: Extract Foreground [interactive] crashes
Product: [Applications] krita Reporter: Zayno <9emdesign>
Component: G'Mic for KritaAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: ghevan
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Zayno 2025-02-02 23:39:42 UTC
***
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

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. open image to extract from background
2. select contours-> extract foreground [interactive]


OBSERVED RESULT
popup dialog box with message:

*** Error in ./fx_extract_foreground/*foreach/*substitute/x_segment/ *** Command 'x_segment': No display available.

EXPECTED RESULT
interactive window to select foreground and background

SOFTWARE/OS VERSIONS
macOS: 13.7.3


ADDITIONAL INFORMATION
Comment 1 vanyossi 2025-02-07 02:02:44 UTC
Confirming, this happens since 5.0.6 ony any g'mic filter that needs an interactive widget.
Comment 2 vanyossi 2025-02-08 01:19:45 UTC
After further investigation this is not a bug in krita.

Interactive filters depend on X11, while g'mic can be compiled with X11 on macos making all interactive filters work, this requires all g'mic krita users to have XQuartz installed which is something we cannot expect or ask from users. Without X11 installed g'mic krita plugin would not launch at all. X11 on macOS is being long deprecated, for reference XQuartz last release was january 2023.

Please report the bug to g'mic team.
Comment 3 Zayno 2025-02-08 09:38:02 UTC
I have x11 quartz installed what are the steps that i have to take for gmuc to work

Loque practicas se vuelve mejor.
- Shauna Shapiro -

> El 7 feb 2025, a la(s) 9:43 p.m., vanyossi <bugzilla_noreply@kde.org> escribió:
> 
> https://bugs.kde.org/show_bug.cgi?id=499429
> 
> vanyossi <ghevan@gmail.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|CONFIRMED                   |RESOLVED
>         Resolution|---                         |UPSTREAM
> 
> --- Comment #2 from vanyossi <ghevan@gmail.com> ---
> After further investigation this is not a bug in krita.
> 
> Interactive filters depend on X11, while g'mic can be compiled with X11 on
> macos making all interactive filters work, this requires all g'mic krita users
> to have XQuartz installed which is something we cannot expect or ask from
> users. Without X11 installed g'mic krita plugin would not launch at all. X11 on
> macOS is being long deprecated, for reference XQuartz last release was january
> 2023.
> 
> Please report the bug to g'mic team.
> 
> --
> You are receiving this mail because:
> You reported the bug.