Tabs

We should have a consistent use of tabs throughout GNOME 3 that accommodate touch and high precision pointing devices, allow for intuitive access and control, and are elegant in appearance.

Objectives

There are two somewhat distinct uses for what are commonly called tabs.

  1. The "fixed number of tabs" case often found in preferences dialogs
  2. A multiple document interface often found in browsers, editors, and terminals.

This document will focus on the second. The first may be better handled as a view switcher.

  • Allow for both text, icon, and icon+text labels.
  • Optional close button on the active tab.
  • Animated add, remove, and reorder.
  • Ability to move tabs (either by dragging horizontally or with keyboard shortcuts).
  • Tabs should be able to act as drop targets.
  • Provide a way to indicate a non-active tab has activity.
  • Handle overflow where there are more tabs than available space. Requirements here:
    • Not too much work to access overflowed tabs.
    • Fast browsing through all tabs (scrolling is good for this).
    • Needs a way to indicate when non-visible tabs have activity.
  • Compatible with pointer and touch interaction.

Nice to have:

  • Always display the active tab.
  • Always keep the tab sequence intact (don't reorder tabs according to what's selected).
  • After tabs are deleted, delay resizing remaining tabs until after the pointer has moved. This means that close buttons fall below the pointer, making it easy to close multiple tabs.

Questionable requirements:

  • New tab button in the bar.
  • Provide a way to get a richer view of all open tabs (such as a tab overview).
  • Ability to split out a tab (either by dragging vertically or with a keyboard shortcut).

Relevant Art

iOS 5

http://www.blogcdn.com/www.engadget.com/media/2011/06/ipad-safari-tabs-update.jpg

Safari 6

Tab navigation to use with touch interfaces

https://live.gnome.org/GnomeOS/Design/Whiteboards/Tabs?action=AttachFile&do=get&target=Safari6.png

Safari 8

Tab overview:

http://photos.appleinsidercdn.com/gallery/9471-1212-Screen-Shot-2014-06-05-at-21132-AM-l.png

Overflow:

http://photos.appleinsidercdn.com/safari-tab-scrolling.gif

Firefox 13

https://lh3.googleusercontent.com/-GJwYwIElGpU/T6QU47YzgaI/AAAAAAAAgu8/42fgJ07xdPk/s640/Screen%20Shot%202012-05-04%20at%201.14.17%20PM.png https://lh6.googleusercontent.com/-kzdFl51jYhE/T6QU4whuUlI/AAAAAAAAgvI/OKPEJgATGio/s640/Screen%20Shot%202012-05-04%20at%201.14.25%20PM.png https://lh4.googleusercontent.com/-cTbjOdKvKRs/T6QU45REsPI/AAAAAAAAgvA/WevHmWd_Lww/s640/Screen%20Shot%202012-05-04%20at%201.17.11%20PM.png

Discussion

Prototypes and Design Development

Older Iterations:

Motion prototypes:

Concepts

Overflow Menu

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/theming/widgets/tabs/overflow-menu/overflow-list.png

Needs attention

Collapse Expand

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/theming/widgets/tabs/collapse-expand/tabs-collapse-expand.png

Tab Strip

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/theming/widgets/tabs/tab-strip/tabs-tab-strip-wires.png

Tentative Design

Comments

  • it would be interesting to be able to switch between classical tabs and tree tabs, as this help user to easily follow its own navigation path tree style tab is an example of what can be done in this direction, improvement to this may include:

    • easy switch between classical en tree view
    • switch between tree hierarchy with different criteriea (navigation path, display path, etc) -- psychoslave 2013-08-03 21:09:40

  • how does the overflow menu scales? It is not uncommon to have tens of tabs opened in browser among power users (and in text editors) and at least speed displaying all tabs in documents menu in gedit was wanting. -- MaciejPiechotka <<DateTime: execution failed [Bad timestamp u'2013-08-04T10:59': invalid literal for float(): 2013-08-04T10:59] (see also the log)>>

  • How does "modified state" change the tab content? Do we want to be consistent about that across applications? Some use a "*" to indicate modified, Firefox uses a green highlight color, etc. ChristianHergert

  • I have many reservations on the proposed design, at least in its current implementation, both from a behavior and from a visual point of view
    • Close buttons only shown on the current tab: I think this is wrong since one of the most frequent operations I do both in a browser and in gedit is to open a bunch of tabs to find something and then close many of them *except* the current one
    • Always expanding: I would definitely prefer a well sized natural size with the ability to shrink a bit when there are many tabs: I find having things side by side at natural spacing much more natural than widely spaced huge tabs. Beside it ensures that when closing tabs I can just click on the close button and the next tab ends up with the close exactly under my mouse making it more efficient
    • From the visual point of view I understand that this is subjective, but I by far prefer the sober square tabs proposed in the mockups than the implementation where the current tab is only identified by the underlining. The new look is inspiered by android, but there are many important differences, for instance android always uses black chrome making the underline much more evident, while in gtk has to work well with light chrome too. Beside the indicator becomes even less noticeable when combined with other patterns we use: for instance when there is an info bar open which also is blue. -- PaoloBorelli

See Also

Design/OS/Tabs (last edited 2016-06-08 18:13:40 by AllanDay)