Issues using interactive mode in i3wm / with GIMP
Using GIMP 2.10.22 on i3wm
I noticed some weird behavior when I am tiling my windows and use GMIC it opens a new window to the right of GIMP (correct) and then if I don't stack windows, when I go to interactive mode, it will open the preview window the right (correct) but as soon as I mouse over any other window, it just disappears. If I start in stacked mode, it seems to behave more predictably but when I am done w/ my edits and hit enter, it closes the preview window and just goes back to the "processing" window where my only options are to cancel the operation. GIMP never gets back the mutated image.
I enabled very verbose logging in console but only see this:
gmic_gimp_qt[56104]: "Error: ~GmicProcessor(): There are 1 unfinished filter threads."
Ahh, here's some more from my .xsession-errors
[gmic]-1./fx_extract_foreground/*repeat/*local/*substitute/x_segment/*repeat/*local/ Set name of image [0] to '[G'MIC] Interactive Foreground Extraction'.
[gmic]-1./fx_extract_foreground/*repeat/*local/*substitute/x_segment/ Set status to '2670.80225,2935.16113,3339.47485,3794.(...)2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,1,1,1,2'.
[gmic]-1./fx_extract_foreground/*repeat/*local/*substitute/x_segment/ Close display window [0].
[gmic]-1./fx_extract_foreground/*repeat/*local/ Set local variable 'status=2670.80225,2935.16113,3339.47485,3794.(...)2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,1,1,1,2'.
[gmic]-1./fx_extract_foreground/*repeat/*local/ Insert shared buffer from channel 3 of image [0].
[gmic]-2./fx_extract_foreground/*repeat/*local/ Blur image [1] with standard deviation 0%, neumann boundary conditions and quasi-gaussian kernel.
[gmic]-2./fx_extract_foreground/*repeat/*local/*if/ Start 'if...endif' block -> condition '0>0' does not hold.
[gmic]-2./fx_extract_foreground/*repeat/*local/*if/ Reach 'elif' block -> condition '0<0' does not hold.
[gmic]-2./fx_extract_foreground/*repeat/*local/*if/ End 'if...endif' block.
[gmic]-2./fx_extract_foreground/*repeat/*local/ Remove image [1] (1 image left).
[gmic]-1./fx_extract_foreground/*repeat/*local/*if/ Start 'if...endif' block -> condition '3==1' does not hold.
[gmic]-1./fx_extract_foreground/*repeat/*local/*if/ Reach 'elif' block -> condition '3==2' does not hold.
[gmic]-1./fx_extract_foreground/*repeat/*local/*if/ Reach 'elif' block -> condition '3==3' holds.
[gmic]-1./fx_extract_foreground/*repeat/*local/*if/ Input copy of image [0] at position 1 (1 image 4463x3570x1x4).
[gmic]-2./fx_extract_foreground/*repeat/*local/*if/ Insert shared buffer from channels (0->2) of image [0].
[gmic]-3./fx_extract_foreground/*repeat/*local/*if/ Keep channels 3...3 of image [0].
[gmic]-4./fx_extract_foreground/*repeat/*local/*if/ Compute boolean 'greater or equal than' between image [3] and 3.
[gmic]-4./fx_extract_foreground/*repeat/*local/*if/ Multiply images [2,3].
[gmic]-3./fx_extract_foreground/*repeat/*local/*if/ Abort G'MIC interpreter (caught abort signal).
[gmic_gimp_qt]./preview/ v 3 gui_no_preview 0,0,3,1,0,0,-1
[gmic]-1./ Start G'MIC interpreter.
[gmic]-1./gui_no_preview/ Skip argument '0,0,3,1,0,0,-1'.
[gmic]-1./gui_no_preview/gui_print_preview/*if/ Keep image [0] (1 image left).
[gmic]-1./gui_no_preview/gui_print_preview/ Render RGBA image [0] over a checkerboard background.
[gmic]-1./gui_no_preview/gui_print_preview/ Set local variable 'siz=804,916'.
[gmic]-1./gui_no_preview/gui_print_preview/ Set local variable 'sizw=796'.
[gmic]-1./gui_no_preview/gui_print_preview/*if/ Resize 2D image [0] to 804x916 with ratio-padded mode and interpolation type 3.
[gmic]-1./gui_no_preview/gui_print_preview/*if/ Render RGBA image [0] over a checkerboard background.
[gmic]-1./gui_no_preview/gui_print_preview/ Input image at position 1, with values (1;0.5^1;0.5^0;1) (1 image 1x2x1x3).
[gmic]-2./gui_no_preview/gui_print_preview/ Input image at position 2, with values (0,0.5,0;0.5,1,0.5;0,0.5,0) (1 image 3x3x1x1).
[gmic]-3./gui_no_preview/gui_print_preview/ Multiply image [2] by 0.65.
[gmic]-3./gui_no_preview/gui_print_preview/ Multiply images [0,1,2].
[gmic]-1./gui_no_preview/gui_print_preview/ Cut image [0] in range [0,255].
[gmic]-0./gui_no_preview/gui_print_preview/*local/ Input empty image at position 0 (1 image 0x0x0x0).
[gmic]-1./gui_no_preview/gui_print_preview/*local/ *** Error *** Command 'text': Invalid argument ',0,0,0,1,255'.
[gmic]-1./gui_no_preview/gui_print_preview/*local/ Remove image [0] (0 images left).
[gmic]-0./gui_no_preview/gui_print_preview/*local/ Input empty image at position 0 (1 image 0x0x0x0).
[gmic]-1./gui_no_preview/gui_print_preview/*local/ Draw text 'No preview available' at position (0,0) on image [0], with font height 32, opacity 1 and color (255).
[gmic]-1./gui_no_preview/gui_print_preview/*local/ Input image at position 0, with values '255' (1 image 254x32x1x3).
[gmic]-2./gui_no_preview/gui_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0. (1 image 20x1x1x1).
[gmic]-2./gui_no_preview/gui_print_preview/*local/ Set local variable 'is_err=0'.
[gmic]-2./gui_no_preview/gui_print_preview/*local/ Remove image [1] (1 image left).
[gmic]-1./gui_no_preview/gui_print_preview/*local/ Append image [0] along the 'y'-axis, with alignment 0.
[gmic]-2./gui_no_preview/gui_print_preview/ Append image [1] along the 'y'-axis, with alignment 0.5.
[gmic]-2./gui_no_preview/gui_print_preview/ Resize image [1] to 804x916x1x100% , with no interpolation, dirichlet boundary conditions and alignment (0.5,0.5,0,0).
[gmic]-2./gui_no_preview/gui_print_preview/ Blend all images [0,1] together, using 'alpha' mode and opacity 1.
[gmic]-1./ End G'MIC interpreter.