GNOME Bugzilla – Bug 331475
Sidebar not completely hidden if when opening new window
Last modified: 2006-02-27 12:58:31 UTC
Please describe the problem: If you klick away the sidebar and open a new window, parts of the widgets will still be visible. This results in a small visual glitch. Steps to reproduce: 1. Open Nautilus in browser mode. 2. Make sure you have the sidebar enabled and click it away ether by clicking on the seperator or by moving it completely to the left. 3. Open a new Nautilus window in browser mode. Actual results: The sidebar will still have a width of 1 pix. Expected results: The sidebar should not be visible anymore (except for the seperator). Does this happen every time? yes. Other information:
This can easily be fixed: Change Line 99 in nautilus-navigation-window.c from #define SIDE_PANE_MINIMUM_WIDTH 1 to #define SIDE_PANE_MINIMUM_WIDTH 0 This will make the width of the sidebar go to 0 if it's closed using the method described above. I tried it by manually setting the gconf-key /apps/nautilus/preferences/sidebar_width to 0 and then opening a new window. This worked as expected!
*** Bug 328060 has been marked as a duplicate of this bug. ***
Created attachment 59629 [details] [review] Proposed patch Proposed patch, also submitted to nautilus-list for review: http://mail.gnome.org/archives/nautilus-list/2006-February/msg00090.html
Commited.