-
Notifications
You must be signed in to change notification settings - Fork 236
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
Static elements resulting in Gtk errors #365
Comments
Does this happen only in Linux GTK? |
@klytje Can you confirm if this still happens with the |
Still happens on both the current |
Alright. I'll take a closer look. |
Ohh... It seems the bounds has -NAN! |
@klytje I think this is your problem: It's not about the static element either. It still has the problem even if I make everything non-static. And removing the hgrid makes the problem go away. I suggest making an MVCE with only that. |
I don't understand what triggers the warnings. This is the smallest I could reduce it to: |
That's a good MVCE! Alright I'll take a look. |
After designing an interface for my range_slider it always outputs 8 Gtk errors upon startup:
After trimming away everything I could while still triggering the error, I ended up with this main.txt file.
While the code now looks a bit funky due to all of the stuff I removed, I don't think I'm doing anything illegal here.
Changing any part of the layout (either in the return statement or the number of labels) makes the error disappear. Changing the slider_labels element to be
share
d also solves the issue. The interface seems to work just fine regardless of these errors. Since it is so easy to get rid of these errors again, they're not really an issue for me, but I still thought it was worth reporting.The text was updated successfully, but these errors were encountered: