After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316286 - Resize the sidebar before showing it
Resize the sidebar before showing it
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
1.5.x
Other All
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2005-09-14 10:20 UTC by Sebastien Bacher
Modified: 2006-11-15 13:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Sebastien Bacher 2005-09-14 10:20:59 UTC
This bug has been opened here: http://bugzilla.ubuntu.com/show_bug.cgi?id=14323

"I've been using totem and it's new playlist a lot.

However, totem does not remember the size of that playlist as I set it
previously, and will open with it at ~40% of the width of the window
I usually have totem fullscreen, so this is an immense size for a playlist. It'd
make much more sense if it'd remember the with the user had given the playlist
previously.
failing that, have it open at a sensible default size either in pixels or
percentage of total window width.

Reproduce:
open totem
drag the playlist window to something very small. 
close totem
open totem"
Comment 1 Sergej Kotliar 2005-09-17 22:44:42 UTC
Confirming
Comment 2 Bastien Nocera 2006-08-13 00:39:23 UTC
2006-08-13  Bastien Nocera  <hadess@hadess.net>

        * src/totem-private.h:
        * src/totem.c: (totem_action_save_size), (totem_action_save_state),
        (totem_setup_window):
        Save and restore the sidebar width (Closes: #316286)
Comment 3 Bastien Nocera 2006-08-13 01:36:42 UTC
This commit doesn't allow for the sidebar to be resized...
Comment 4 Bastien Nocera 2006-08-13 13:23:46 UTC
2006-08-13  Bastien Nocera  <hadess@hadess.net>

        * src/totem-private.h:
        * src/totem-sidebar.c: (cb_resize):
        * src/totem.c: (totem_action_save_size), (totem_action_save_state),
        (totem_setup_window), (video_widget_create):
        Resize the sidebar after the video widget has been shown, still not
        perfect, but better than nothing (Helps: #316286)
Comment 5 Bastien Nocera 2006-11-15 13:59:31 UTC
2006-11-15  Bastien Nocera  <hadess@hadess.net>

        * src/totem-sidebar.c: (totem_sidebar_setup):
        * src/totem.c: (totem_action_save_state),
        (main_pane_size_allocated), (totem_setup_window),
        (video_widget_create): Patch from Jan Arne Petersen
        <jpetersen@jpetersen.org> to make Totem remember the width
        of the sidebar even when Totem was maximised when we exited
        (Closes: #365211, #361800, #316286)