Gimp/app
balooii balooii b0ee5ddfce Issue #12491: Fix GimpUnitComboBox immediately closing on certain platforms
I noticed that the issue of the combo box popup getting immeidately
closed on Linux X11 (and probably macOS as well) only happens when using
GimpUnitComboBox as used in gimppropwidgets.c and gimpsizeentry.c while
there is no issue when used in gimpstatusbar.c

The only noticable difference I saw was that in status bar was that
the wrap width of combo box was set to 1 via
gtk_combo_box_set_wrap_width. Which was added as a hack for another
issue.

I did the same for the other two uses of GimpUnitComboBox and the issue
disappeared so I moved this hack to GimpUnitComboBox itself as it seems
to be generally useful.

The change doesn't make much sense to me and is a workaround for
something that should probably be changed in GTK but well.

As explored in !2654 I think we shouldn't use GtkComboBox but reimplement
using a Popover. This would get rid of these workarounds as we wouldn't rely
on internal behaviour of GtkComboBox.

Couldn't test macOS or Windows but Linux X11 and Wayland work just fine.
Tested by: GDK_BACKEND=x11 gimp and GDK_BACKEND=wayland gimp

Fixes #12491

Superseedes !2654
2026-03-10 00:11:37 +01:00
..
actions Issue #15242: Multi Window mode creates extra 'lock' actions. 2026-03-06 16:27:14 +01:00
config app: blurb cleanup. 2026-03-07 14:45:50 +01:00
core Revert "Issue #15824: better detect the first filter." 2026-03-06 21:13:52 +01:00
dialogs dialogs: Set "Quit Save" icon size based on theme 2026-03-09 01:53:00 +00:00
display Issue #12491: Fix GimpUnitComboBox immediately closing on certain platforms 2026-03-10 00:11:37 +01:00
file app: also move the link loop verification inside the pre-check. 2026-01-09 21:35:31 +01:00
file-data app: fix #12867 crash when exporting grayscale .gih 2026-03-09 17:18:43 -04:00
gegl app, pdb: factorize code for allowed filters. 2026-02-21 14:50:19 +01:00
gui app, libgimpthumb, plug-ins, tools: Fix POSIX namespace warnings on MSVC 2026-02-28 10:06:46 -03:00
menus Declare gexiv2 dependency on many targets (due to gimpmetadata.h) 2025-10-03 18:31:53 -03:00
operations Issue #15962: initialize Levels dialog in Perceptual. 2026-03-09 14:26:58 +01:00
paint app/paint: ALGORITHM_* values are unsigned integers 2025-11-29 18:18:50 -03:00
path path: Add gimp_vector_layer_convert () 2026-02-26 03:20:05 +00:00
pdb Issue #15681: deprecate gimp_drawable_curves_explicit() and… 2026-03-01 22:33:58 +01:00
plug-in libgimp, pdb: Allow access to GimpCurve in PDB 2026-03-01 13:41:35 +00:00
propgui Issue #15575: add arg to color button prop widget to choose context awareness. 2026-02-03 13:10:41 +01:00
tests app, libgimpthumb, plug-ins, tools: Fix POSIX namespace warnings on MSVC 2026-02-28 10:06:46 -03:00
text app, libgimpthumb, plug-ins, tools: Fix POSIX namespace warnings on MSVC 2026-02-28 10:06:46 -03:00
tools Issue #15962: initialize Levels dialog in Perceptual. 2026-03-09 14:26:58 +01:00
widgets app: GimpEditor buttons will have the associated action name as identifier. 2026-03-01 23:48:57 +01:00
xcf app, pdb: factorize code for allowed filters. 2026-02-21 14:50:19 +01:00
about.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
app.c app: Don't show Welcome Dialog if images loaded... 2026-02-08 00:43:36 +00:00
app.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
errors.c app, libgimpbase, plug-ins, tools: Include missing IO headers if on Windows 2025-11-29 18:16:54 -03:00
errors.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimp-debug.c
gimp-debug.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimp-intl.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimp-log.c
gimp-log.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimp-priorities.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimp-update.c app: Don't show Welcome Dialog if images loaded... 2026-02-08 00:43:36 +00:00
gimp-update.h app: Don't show Welcome Dialog if images loaded... 2026-02-08 00:43:36 +00:00
gimp-version.c
gimp-version.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimpconsoleapp.c
gimpconsoleapp.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
gimpcore.def app, libgimp*: add GimpCurve sample API in libgimp and PDB. 2026-03-01 22:33:58 +01:00
gimpcoreapp.c
gimpcoreapp.h app: remove useless heading newline. 2025-10-13 15:37:11 +02:00
git-version.h.in app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
language.c app, libgimp*, pdb, themes: Fix description typos 2025-09-24 16:50:15 +00:00
language.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
main.c meson, app, tools: Organize ISO_CODES* macros after build failure report 2026-03-06 14:09:35 -03:00
meson.build app: new save-and-export tests calling the API with actual GIMP process. 2026-02-03 10:40:15 +01:00
sanity.c meson,app: depend on GEGL 0.4.66 2025-12-11 22:21:59 +01:00
sanity.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
signals.c app: Make possible to append _NT_SYMBOL_PATH 2025-09-09 12:57:46 -03:00
signals.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00
unique.c
unique.h app, pdb, libgimp: use "#pragma once" instead of: 2025-07-13 03:21:37 +02:00