quick-lookup icon indicating copy to clipboard operation
quick-lookup copied to clipboard

ComboBox is broken on GTK 4

Open johnfactotum opened this issue 2 years ago • 2 comments

It's a GTK bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/3674

johnfactotum avatar Nov 13 '21 18:11 johnfactotum

https://user-images.githubusercontent.com/39268094/153176190-87117018-6a9a-4bb0-bc93-6160a8188c3f.mp4

Hi, Dialect seems to be using a scrollable widget for language selection. Would that be applicable here?

kdwk avatar Feb 09 '22 10:02 kdwk

Dialect uses a custom popover, with a list view. We could do something similar but that would essentially be re-implementing Gtk.ComboBox, which I'd rather not do.

There's the new Gtk.DropDown widget (which is supposed to supersede the combobox), the behavior of which is actually the same as the custom widget used in Dialect. Unfortunately we need text entry support, which Gtk.DropDown doesn't have.

johnfactotum avatar Feb 24 '22 09:02 johnfactotum