GNOME Bugzilla – Bug 311733
double-click on sidebar seperator to hide it
Last modified: 2014-07-10 04:28:00 UTC
Just for consistency with nautilus, and because some people might find it useful, it would be nice to hide the sidebar when double-clicking on its separator. It adds no UI and seems like a useful feature.
The most funny thing is that in nautilus (at least in 2.10) double-click doesn't hide the sidebar, but makes it zero width so that pane separator is still here and there is check in menu. So it's not obvious how to get sidebar back. Other applications like evolution or yelp don't support this feature at all. Moreover, in nautilus this feature is implemented in very hackish way with custom widget nautilus-horizontal-splitter. I don't think we'd like to copy-paste that code. About possiblility of implementation of this feature I've tried to connect to button-press-event of GtkPaned but it seems that it filters GDK_2BUTTON_PRESS, so it should not be easy to implement it.
Created attachment 49866 [details] [review] Patch Oh sorry. I was really wrong with last statement. This patch implements feature.
I dont like much the idea of using double click for this. It's already a small target, if you add the difficulty (and the undisconverability) of double clicking I think it gets pretty much useless. Also single click is not taken, so why not use it... I'm not sure about really hiding the sidebar either. If someone does it by mistake it may not be immediately obvious how to get it back... Nautilus behavior is better in this respect. So my not so strong opinion is that if we want something like this it should be done the nautilus way, otherwise I'd avoid it. Though up to our usability expert :)
I wouldn't mind this feature if there was an animation to it, otherwise I'd rather not it be included. This is the kind of feature could be good, but also could be really bad if people don't understand it; and without an animation explaining it I think it would be bad. What I'd suggest to do this feature is an animation of the sidebar closing. The animation could show the sidebar smoothly sliding to side until it's hidden. Then the gripper bar would glow for a second to show that it is an action point for opening the sidebar again. Hopefully this animation would give a story to the person about what happened to the sidebar. The animation shouldn't be slow as much as it should be smooth and visible, and the glow of the gripper should indicate that it's useful for opening the sidebar again.
This is more a Paned feature than an evince feature; moving to GTK+.
seems clear that this feature hasn't made the cut