Skip to content
Commit 6425e8d3 authored by Florian Müllner's avatar Florian Müllner
Browse files

userList: Fix focusing the search entry after room changes

GtkContainer's default focus chain is based on its children's allocated
y position and height[0]. This is problematic when the user list has just
been created and doesn't have a proper allocation yet, as it will wrongly
sort before the search entry in that case.
Work around this by adding the user list to a dedicated bin (that is kept
around on room changes) instead of directly to the main box.

[0] https://git.gnome.org/browse/gtk+/tree/gtk/gtkcontainer.c#n2737

https://bugzilla.gnome.org/show_bug.cgi?id=750689
parent 13c3a970
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment