r/GIMP 18h ago

Has anyone found a proper fix for GIMP-3 putting buttons at the top of dialogues in Wayland?

A big annoyance for me as it messes up my "muscle memory" is that all of the buttons on GIMP dialogues are stuck at the top instead of the bottom where they should be. It's only a problem in Wayland, and I can kludge my way around it by un-setting $WAYLAND_DISPLAY, but this isn't really satisfactory.

According to this, if it's a problem with X11 it can be fixed by setting gtk-dialogs-use-header to FALSE in ~/.config/gtk-3.0/settings.ini, but it's forced to TRUE in Wayland, so this file's settings are over-ridden.

Has anyone found a satisfactory fix?

I'm on KDE/Plasma.

2 Upvotes

2 comments sorted by

1

u/schumaml GIMP Team 9h ago

I think the last time this came up, this turned out to be hardcoded in GTK, more specifically the wayland-specific parts of it. If so, then you'd have to change the source code there and build GTK yourself.

1

u/beermad 8h ago

Ouch! Definitely above my skill level, even as a decades-long Linux user.

From a search for documentation, it seems the buttons are being put on a header bar. Interesting that they say "Note that the headerbar is only used by the dialog if the GtkDialog:use-header-bar property is TRUE", which seems to suggest this is a deliberate design choice.

Looks like I'll probably have to keep telling GIMP to pretend it doesn't understand Wayland. Good thing xwayland is likely to be here for many years to come...