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 327709 - Rework the zoom levels to match sizes suggested by Tango style guide
Rework the zoom levels to match sizes suggested by Tango style guide
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: general
2.21.x
Other All
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-19 14:03 UTC by Luca Ferretti
Modified: 2015-04-25 16:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
The patch to replace zoom levels with strings (9.73 KB, patch)
2008-01-12 21:22 UTC, Luca Ferretti
needs-work Details | Review

Description Luca Ferretti 2006-01-19 14:03:36 UTC
The brave artist jimmac is re-drawing gnome-icon-theme icons to match the tango
tyle. Note that I'm speaking about the common fd.o stuff (icon naming and
sizes), not only colors.

This means that 12x12, 24x24, 32x32 and 36x36 icons will be removed from GNOME.

Only 16x16, 22x22 and SVG icons designed to be pixel-perect at 48x48 will be
available. Hopefully next GTK+ will use the same sizes (mayby "hardcoding"
gtk-large-toolbar to 22x22 and gtk-menu-items to 16x16)

My suggestion is change the zoom levels of nautilus view from 25%, 50%, 75%,
100%, 150%, 200% and 400% to

  - Very small (16x16 = Normal / 3)
  - Small      (22x22 ~ Normal / 2)
  - Normal     (48x48)
  - Large      (96x96 = Normal * 2)
  - Very large (128x128 = Normal * 3)
  - Custom...  (set zoom level by hand - is it useful?)

Other information:
Comment 1 Lapo Calamandrei 2006-08-07 18:47:34 UTC
Luca we are trying to support 32x32 so I think you could insert that in your list.
I'd remove custom, I don't think it's that usefull and it can produce not optimal results.
Comment 2 Luca Ferretti 2006-12-07 14:30:23 UTC
New levels to manage all sizes supported by Tango Style Guide

  - Very small (16x16   *) 
  - Small      (22x22   *)
  - Medium     (32x32   *) 
  - Normal     (48x48   *)
  - Large      (96x96   #)
  - Very large (128x128 #)
  - Custom...  (set zoom level by hand)

The * means the size is available Tango style guide.
The # means that the icon should be scaled up using the SVG picture.

PS changed summary too.
Comment 3 Lapo Calamandrei 2007-04-02 12:43:13 UTC
Any progress/decision on this one?
Comment 4 Luca Ferretti 2008-01-12 20:22:16 UTC
From libnautilus-private/nautilus-icon-info.h

#define NAUTILUS_ICON_SIZE_SMALLEST	16
#define NAUTILUS_ICON_SIZE_SMALLER	24
#define NAUTILUS_ICON_SIZE_SMALL	32
#define NAUTILUS_ICON_SIZE_STANDARD	48
#define NAUTILUS_ICON_SIZE_LARGE	72
#define NAUTILUS_ICON_SIZE_LARGER	96
#define NAUTILUS_ICON_SIZE_LARGEST     192

It was changed some time ago, I forgot to add a note here. The only pending issues are now:
  * 24 --> 22 (g-i-t provides 24, but it's 22 + 1 pixel border)
  * 128 (it's the size jimmac, andreas and lapo are drawing large, detailed icons)
  * rework nautilus code to show Small|Medium|Large instead 50%|75%|100% (I'm 
    working on it now)
Comment 5 Luca Ferretti 2008-01-12 21:22:31 UTC
Created attachment 102688 [details] [review]
The patch to replace zoom levels with strings

It was simpler then expected. Now zoom levels comboboxes in preferences menu and zoom button/menu in explorer toolbar show zoom levels as string (Extra small, Small, Medium, Normal, Large, Extra large, Enormous).

One issue: the toobar button width could be smaller then needed...
Comment 6 Norman Jonas 2008-08-23 22:41:08 UTC
For better distinction "Tiny" instead of "Extra small" and "Big" / "Huge" instead of "Extra large" may be better terms ?
Comment 7 Allan Day 2010-06-21 18:41:59 UTC
Changing component as a part of bug reorganisation work.
Comment 8 André Klapper 2015-01-17 02:14:01 UTC
Comment on attachment 102688 [details] [review]
The patch to replace zoom levels with strings

src/nautilus-zoom-control.c does not exist anymore in git master. Hence setting 'needs-rework' as patch does not apply cleanly.
Comment 9 António Fernandes 2015-04-25 16:30:28 UTC
I believe this report is not relevant anymore.

As of version 3.16, zoom levels have been refined following visual guidance from the design team and reduced to three levels, which are changed with a slider.

Closing as OBSOLETE. Enhancements to current zoom levels should go into new bug reports.