Click to hide left panel

Bug #619156 reported by IceWil
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nautilus-elementary
New
Wishlist
Unassigned

Bug Description

With the original nautilus, clicking on resize handle hides left panel.
With nautilus elementary, clicking on resize handle shrinks left panel a bit.
It's annoying.

Revision history for this message
ammonkey (am-monkeyd) wrote :

I don't understand the behavior you're talking about, if your talking about the close icon button present on the sidebar of stock nautilus, then no, nautilus-elementary won't have this ugly half useless thing. Because once your sidebar is close the button is gone with it so u have to go in the menu to re enable the sidebar. half useful/half useless button.

just checked on stock nautilus 2.31.6 present in maverick the resize is exactly the same than nautilus-elementary not a big surprise thought like it's the same source code :P

u got F9 keyboard shortcut to show/hide the sidebar

Revision history for this message
IceWil (icewil) wrote :

Nautilus has this behaviour. If it's not a feature, it should be.

Revision history for this message
IceWil (icewil) wrote :

Nautilus Elementary has this behaviour, you necessarily changed the code I suppose.

Revision history for this message
ammonkey (am-monkeyd) wrote :

well like i said the behavior you're talking about don't exist in official nautilus 2.31.6 neither. I just tried it you can resize the sidebar that's all, there no hiding magic. nautilus-elementary is based on git developpement version of nautilus.

Furthermore it would be a gtk issue because there's nothing in the code which hide a pane if you click on the separator. Or i am blind :)

Revision history for this message
IceWil (icewil) wrote :

I don't understand, it's the default behaviour with Ubuntu on 3 different computers.
I searched the code for you, I think it's here : http://git.gnome.org/browse/nautilus/tree/libnautilus-private/nautilus-horizontal-splitter.c
It's a HPaned which can resize from the left component size to 0 and save old size (splitter_collapse function) and the opposite from 0 to the saved size (splitter_expand function).
I think you probably delete the ScrolledWindow, so the HPaned can just collapse to the TreeView minimum size.
Maybe I am wrong, but the code seems to follow my behaviour.

(Sorry if my english is bad)

Revision history for this message
ammonkey (am-monkeyd) wrote :

thanks for pointing that code out, indeed it should act as u said. Afaik in 2.31.6 it don't.
Don't know where it's coming from.

"I don't understand, it's the default behaviour with Ubuntu on 3 different computers."
which ubuntu version? maverick, lucid? which nautilus version?

maybe checking the commit we ll found what was modified, but first i need to know where it worked before.
because actually on 2.31.6 u can't even resize the sidebar with a 0 width, so the collapse thing just don't work.

Revision history for this message
IceWil (icewil) wrote :

On Lucid, with Nautilus 2.30.1

Changed in nautilus-elementary:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.