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 331475 - Sidebar not completely hidden if when opening new window
Sidebar not completely hidden if when opening new window
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Sidebar
2.13.x
Other All
: Normal trivial
: ---
Assigned To: Christian Neumair
Nautilus Maintainers
: 328060 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-16 23:20 UTC by Sebastian Grössl
Modified: 2006-02-27 12:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Proposed patch (2.25 KB, patch)
2006-02-18 09:53 UTC, Christian Neumair
none Details | Review

Description Sebastian Grössl 2006-02-16 23:20:36 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:
Comment 1 Sebastian Grössl 2006-02-16 23:26:39 UTC
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!
Comment 2 Martin Wehner 2006-02-18 01:49:35 UTC
*** Bug 328060 has been marked as a duplicate of this bug. ***
Comment 3 Christian Neumair 2006-02-18 09:53:55 UTC
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
Comment 4 Alexander Larsson 2006-02-27 12:58:31 UTC
Commited.