GNOME Bugzilla – Bug 548717
Collapsing "Advanced" section doesn't return Accounts window to original size
Last modified: 2010-03-30 11:54:05 UTC
Empathy 2.23.6, Ubuntu Intrepid Ibex alpha 3 1. In the Accounts window, click "Add". 2. Choose an account type that has advanced settings, and click "Create". 3. Expand the "Advanced" section. 4. Collapse the "Advancd" section. What happens: 3. The window enlarges to show the advanced settings. 4. The window remains at its large size, with lots of empty space. What should happen: 3. The window enlarges to show the advanced settings. 4. The window returns to its original size.
Bug still present in master.
the problem with that bug is how we can get the size we need after the expander collapses so we can resize the window?From what i can see the accounts window does not have default size.Any idea?
Right, there is such an expander in the Join Room dialog in Empathy. The trick is: when you expand the expander, the window get resizeable, when you collaps it, it is set to unresizeable. This forces Gtk+ to relayout the widgets to their minimal size.
Oh, actually that seems a bug of join chatroom dialog, if I manually resize the dialog then expand and collapse, it return to minimal size.
I know that by making the window resizable = true and resizable = false every time we can fix this bug,but is this the best solution we can have?
(In reply to comment #4) > Oh, actually that seems a bug of join chatroom dialog, if I manually resize the > dialog then expand and collapse, it return to minimal size. Nah I did it this way: if I collapse, it is because I don't need to see the list anymore, then the window doesn't need to be so large. You don't need to expand unexpand to reload the list, it is reloaded when the server or account changes.
*** Bug 612398 has been marked as a duplicate of this bug. ***
With bug #613272 fixed, we don't expand the dialog any more.