-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
[BUG] Broken EntryCompletion when using builder #802
Comments
It seems like |
Normally properties that expect more than a change of the property value should use their setter on the value at https://github.com/GNOME/gtk/blob/50e4ca8593d12b2de76e4d092d34ec7a1655ede8/gtk/gtkentrycompletion.c#L563 but it doesn't seems to be the case for text-column property. So far we have no way to fix this easily other than:
|
Builders are basically wrappers around calling glib::Object::new and passing the various properties to it with a bit of type safety at compile time. It definitely doesn't call the set_ functions |
Closing this as it is an upstream issue, setting the property should ideally call the setter instead of modifying the property value. |
Bug description
Setting the
text_column
of anEntryCompletion
using its builder instead of usingset_text_column
causes weird rendering / behavior of popup completion:Changing the
entry_completion
example accordingly produces this:Additional Information
4.4
Arch Linux
The text was updated successfully, but these errors were encountered: