GNOME Bugzilla – Bug 379742
Broken first time sidebar resize
Last modified: 2007-02-23 11:14:34 UTC
1. Start Totem 2. Hide the sidebar 3. Exit Totem 4. Start Totem 5. Show the sidebar At 5., the window will not be resized for the sidebar, but use the same window width. It works as expected after the first show.
In cb_resize: g_message ("alloc %d", totem->sidebar->allocation.width); gives out: ** Message: alloc 1 This is obviously not right.
*** Bug 383021 has been marked as a duplicate of this bug. ***
The sidebare is not being realized. I guess someone removed it because they thought it wasn't needed. It needs to be realized, otherwise we think it takes up 0 space. It just needs something like the following in totem-sidebar-setup. gtk_widget_show_all (totem->sidebar); + gtk_widget_realize(totem->sidebar); if (!visible) gtk_widget_hide (totem->sidebar); I didn't see too much sense in attaching a patch for that.
It was a regression caused here: http://svn.gnome.org/viewcvs/totem/trunk/src/totem-sidebar.c?r1=3703&r2=3713
We still suffer from bug #349937 though. 2007-02-23 Bastien Nocera <hadess@hadess.net> * src/totem-playlist.c: (totem_playlist_init), (totem_playlist_new): Move _new stuff to _init * src/totem-sidebar.c: (totem_sidebar_setup): Fix first-time sidebar resize, as pointed out by Eric Anderson <ejona86@gmail.com> (Closes: #379742)