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 509660 - [Patch] Move Zoom and View As controls to main toolbar
[Patch] Move Zoom and View As controls to main toolbar
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: [obsolete] Visual Design
0.x.x [obsolete]
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-15 14:43 UTC by Andrew Conkling
Modified: 2010-08-16 15:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Move Zoom and View As (6.32 KB, patch)
2008-01-15 14:46 UTC, Andrew Conkling
none Details | Review
Move Zoom and View controls to main toolbar (8.05 KB, patch)
2008-02-03 16:51 UTC, Christian Kirbach
needs-work Details | Review
Screenshot showing the different states of the toolbar (149.07 KB, image/png)
2009-07-17 19:12 UTC, Marcus Carlson
  Details
Patch to unify the main and location toolbar (9.15 KB, patch)
2009-07-17 19:13 UTC, Marcus Carlson
rejected Details | Review

Description Andrew Conkling 2008-01-15 14:43:09 UTC
Both bug #42834 and (more specifically) bug #80363 note that toolbar customization is desired to move the Zoom and View As controls out of the Location toolbar and onto the main toolbar. Since this is a much smaller issue, this bug will capture that.

Both bugs (more on bug #80363) have comments from developers who seem to agree that moving these controls (or removing them from the toolbar) is preferred. A patch was added to bug #80363, and I'm adding it here, even though I'm guessing it's out-of-date.
Comment 1 Andrew Conkling 2008-01-15 14:46:01 UTC
Created attachment 102902 [details] [review]
Move Zoom and View As

Here's Stephen Cook's patch from bug #80363.
Comment 2 André Klapper 2008-01-28 10:45:53 UTC
err... but that is a patch for 2.15.91?! we are 2.21 now.
Comment 3 Andrew Conkling 2008-01-28 14:17:13 UTC
It was current when it was submitted, but it was never reviewed. I'm not up to snuff, but what's the best way to get the patch updated/reviewed?
Comment 4 André Klapper 2008-01-28 16:55:46 UTC
update it to current svn codebase and ask for review on nautilus-list@
Comment 5 Christian Kirbach 2008-02-03 16:49:48 UTC
I've updated it to current svn

Had two remove three unused functions (they would cause compile warnings->errors)

from a first test run, zooming works but switching to/from icon view does not work.
Comment 6 Christian Kirbach 2008-02-03 16:51:15 UTC
Created attachment 104325 [details] [review]
Move Zoom and View controls to main toolbar

zooming works but switching to/from icon view does not work.
Comment 7 Christian Kirbach 2008-02-03 16:57:06 UTC
we should also right-align the view as and the zoom control
Comment 8 Christian Kirbach 2008-02-03 17:09:01 UTC
I don't think the zoom and view widgets should be placed in
nautilus_navigation_window_activate_throbber()
Comment 9 Christopher Roy Bratusek 2008-04-03 12:29:01 UTC
Any chance to get a fully working patch (I mean the combobox)?
Comment 10 Cosimo Cecchi 2008-04-03 14:31:02 UTC
Thanks for the bug report and your patch. A similar report (with patch attached) has been filed, and that is already marked as blocked by the toolbar customization one, which seems the way to go for this. I'm marking this bug as a duplicate of the other, feel free to report any other bug you find.

*** This bug has been marked as a duplicate of 525721 ***
Comment 11 Andrew Conkling 2008-04-17 22:15:34 UTC
As per comment #9 on bug 525721 (http://bugzilla.gnome.org/show_bug.cgi?id=525721#c9), this doesn't seem to be a duplicate, though it is certainly similar. Since there wasn't a reply there, I'm reopening this.

This bug suggests changing the default behavior to use the toolbar space more efficiently and is separate from the ability to customize the toolbars.
Comment 12 Florent V. 2008-04-28 22:13:43 UTC
Hello,

Just posting this to say I'm interested in how this bug evolves, because I think the location toolbar is currently crowded and moving those controls that have nothing to do with location would help. :)

As to why I think the location toolbar is overcrowded, see this:
http://files.covertprestige.info/permanent/bugreport/nautilus-lost-space.png
The "zoom" and "view as" options may be useful, but if your Nautilus window is not at least 800px wide it just feels cramped (I can barely see three directories in the text field). It's notworthy that the recent addition of a text label on the left helped create this situation. I guess in English the label is "Place" (5 letters), but the only French translation, "Emplacement" (11 letters) is much bigger.

I know the whole Gnome project fights against optionitis, but on the user side a simple option to display those controls 1) in the main toolbar, 2) in the location bar and 3) not at all... well, that would be great. :)
You may even hide the option as something that's only available through gconf, so as not to confuse some/most users.
Comment 13 Marcus Carlson 2009-07-17 19:12:47 UTC
Created attachment 138633 [details]
Screenshot showing the different states of the toolbar

I've been working on a series of patches that changes the toolbar to make it more streamlined and simpler to use by unifying the two main toolbars and removing little used or redundant controls. This makes much better use of the screen - saves us about 20-50px vertical, depending if we remove the labels or not. This is really good for netbooks with small screen but also lets laptop/desktop users see more of their documents instead of a toolbar!

For the moment it's mostly proof of concept but if we can agree on how to move on I'll make it complete.

About the patch
 - All separators have been removed
 - Stop and Relad has been combined to a single button
 - Computer, Zooming, View mode has been removed
 - Location bar has been put to the main toolbar
 - Location button has been removed
 - View -> Location in the menu has been removed

Future suggestion
 - Adding a zooming widget to the status bar (like the one in openoffice [1])

Attached is also a screenshot showing the different states of the toolbar.

Is this something we would like to do with nautilus?
Comments? 

[1] http://static.blogo.it/ossblog/openoffice-30-beta-1/big_03writer.png
Comment 14 Marcus Carlson 2009-07-17 19:13:47 UTC
Created attachment 138634 [details] [review]
Patch to unify the main and location toolbar
Comment 15 Michael Monreal 2009-07-18 08:56:46 UTC
Why remove the separators and the location button?
Comment 16 Christopher Roy Bratusek 2009-07-18 09:06:29 UTC
removing separators is o.k. in my eyes, as the toolbar-editor (which is requested for years) should take care about that. but -1 for the missing location button.
Comment 17 Marcus Carlson 2009-07-18 09:22:35 UTC
About the location button - I don't think it's clear what it does (at least my icon [looks like a paper to be edited]) and it takes up space for something I think few people use. The people who know how to get to a folder by typing surly has used the ctrl + L command in Firefox and this is the same...

Me personally has never used it (actually tried it now and it seemed broken).

Or I'm I wrong? Or could we add this feature by for example double click the current folder in the breadcrumb?


About the separators - what to separate? There are so few buttons left and almost all belong to separate groups. So it would be almost a separator between every button;
[B] [F] [R/S] | [H] | [S] | [Location]
Three separators on 5/6 buttons seems a little bit overkill (?)
Comment 18 A. Walton 2009-07-18 10:26:44 UTC
(In reply to comment #17)
> About the location button - I don't think it's clear what it does (at least my
> icon [looks like a paper to be edited]) and it takes up space for something I
> think few people use. The people who know how to get to a folder by typing
> surly has used the ctrl + L command in Firefox and this is the same...
> 
> Me personally has never used it (actually tried it now and it seemed broken).

You're wrong. I use it virtually every day, as do many, many users. It works exactly as designed.
 
And I don't think it's appropriate to merge the patch. We really want to go the toolbar editor path rather than arbitrarily rearranging the buttons between releases. On top of that, we already have a load of sensible requests for other buttons but adding them would currently waste more space for lots of users, and it wouldn't be feasible with a layout like this. In the future it might even make sense to let extensions add buttons, like nautilus-svn/-bzr/-whatnot.
Comment 19 Marcus Carlson 2009-07-18 10:37:12 UTC
A. Walton, so even with re-adding the location button this wont be merged?

Then let's this toolbar editor happen! I would definitely like to help out with this one, even if seems a little bit to big for me to handle. But if someone could help with mentoring and making mockups I could give it a try.
Comment 20 Christopher Roy Bratusek 2009-07-18 10:41:55 UTC
this would be the best :)

Well I'm not a big C-Developer, but I will try to help you when the base-prose is done.
Comment 21 A. Walton 2009-07-18 10:47:18 UTC
Well I'm not the only Nautilus maintainer nor the most important, there's always Alex and Cosimo which are usually around more than me, but I definitely wouldn't merge it. It just removes features for a bit of horizontal space and severely restricts the future direction of the toolbar since adding or changing almost anything would just disrupt the layout. It doesn't even save all that much space at all on my layout, though I have to admit mine's probably not the standard to go by (turned off button labels, use 16x16 icons, etc).

The toolbar editor patch in the other bug should be pretty far along, but it needs to be updated. I think it predates the GIO merge, but luckily life hasn't changed too much on the UI side of Nautilus that it can't be salvaged. Christian simply doesn't have the time necessary to bring it up to date, but the code's all there in the bug linked above.
Comment 22 Cosimo Cecchi 2009-07-18 17:14:39 UTC
@awalton: I completely agree with you that the toolbar editor is the way forward, rather than fighting to try to come up with a solution for all the toolbar-button-related bugs filed in bugzilla.

@Marcus: if you want to work on that, as awalton said, you can try to iterate from Christian's patch in bug #42834. Feel free to join #nautilus on IRC and ping some of us if you need any help or advice.
Comment 23 Marcus Carlson 2009-10-05 22:30:23 UTC
As the toolbar editor is getting closer and we certainly don't want to do the things in this patch; can't we close it as a WONTFIX?
Comment 24 Wouter Bolsterlee (uws) 2009-10-05 22:37:38 UTC
Marking this bug as a duplicate of the other toolbar bug makes more sense to me. In that case the other toolbar bug needs a proper comment that summarizes this report — otherwise the information in this report might go lost or unnoticed.
Comment 25 Allan Day 2010-07-05 21:17:06 UTC
Zoom and view controls have been moved to the main toolbar. Closing as obsolete.
Comment 26 Andrew Conkling 2010-08-16 15:18:37 UTC
(In reply to comment #25)
> Zoom and view controls have been moved to the main toolbar. Closing as
> obsolete.

Sounds FIXED to me. ;)

Thanks all!