-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DropDowns don't have type to search on Linux #71
Comments
Ah, got it -- looks like there's a property in GTK dropdowns for "enable-search" that's for some reason set to false by default. We'll need to figure out how to get that set to true for our dropdowns. https://docs.gtk.org/gtk4/property.DropDown.enable-search.html |
Here's a fun fact I just learned -- the link above is for GTK4, but Eto uses Gtk# which is still on GTK3. GTK3 uses combo boxes that don't have that "enable-search" property. D: |
jk, |
This article from (sigh) 2009 might help us: https://arstechnica.com/information-technology/2009/08/howto-an-introduction-to-gtk-treeviews-and-autocompletion/ |
I tried making the combobox have an "entry" per this documentation: https://docs.gtk.org/gtk3/property.ComboBox.has-entry.html That definitely added an entry, but it doesn't work the way we want. |
Conclusion from offline -- while there are hacks we could do here to make this better (and maybe we will do one later down the line), the true solution for this is to have a GTK4 binding with Eto. |
Doesn't work on any devices now in Avalonia. 😎 Just means we'll probably have to implement it ourselves. But when we do, it should work everywhere. |
Blocked on this merging: AvaloniaUI/Avalonia#17506 |
GTK must implement them differently than MonoMac and WPF. We should have this implemented as long drop downs are borderline unusable on Linux rn. Possibly will require implementing a custom GTK control for this.
The text was updated successfully, but these errors were encountered: