Same titles in tabs

Bug #1621637 reported by Adam Bieńkowski
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Files
In Progress
Low
Jeremy Wootten
Scratch
In Progress
Low
Jeremy Wootten
Terminal
In Progress
Low
Jeremy Wootten

Bug Description

Opening two or more folders with same folder names will result in two tabs named the same, and there is no way to determine which one is which, it can be done only through actually clicking on the tab. There should be some kind of mechanism like ie.: sublime text does for same file names.

Related branches

Changed in pantheon-files:
status: New → Confirmed
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

The same bug could be raised in Terminal.

Changed in pantheon-files:
status: Confirmed → In Progress
importance: Undecided → Low
assignee: nobody → Jeremy Wootten (jeremywootten)
Changed in pantheon-terminal:
status: New → Confirmed
Changed in pantheon-terminal:
status: Confirmed → In Progress
importance: Undecided → Low
assignee: nobody → Jeremy Wootten (jeremywootten)
Changed in scratch:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Jeremy Wootten (jeremywootten)
Zisu Andrei (matzipan)
Changed in pantheon-files:
milestone: none → juno-beta1
Changed in scratch:
milestone: none → juno-beta1
Changed in pantheon-terminal:
milestone: none → juno-beta1
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

This was discussed specific to Files, but might be helpful in other apps as well.

- If displayed text (i.e. folder name) is unique among items in the same tab bar, just show that
- If the folder name is not unique, show the path of the folder up to the point where it’s unique
  - If the folders are `~/Projects/artoo/images/oryp2` and `~/Projects/artoo/videos/oryp2`, show the tab names as `images/oryp2` and `videos/oryp2`.
  - If the folders are `~Projects/artoo/images/oryp2/optimized` and `~/Projects/artoo/videos/oryp2/optimized` , the tabs might show `images/oryp2/optimized` and `videos/oryp2/optimized` respectively.
  - The truncation/ellipsis rules of the HIG should apply; I believe the middle of the tab name should be truncated since the beginning and end of the string are most likely to be unique.
  - This convention puts the unique, distinguishing factors up front while also keeping the standard convention of `/` separation for directories.
- A tooltip should reveal the full path (relative to the home directory if relevant), i.e. `~/Projects/artoo/images/oryp2/optimized` in the previous example.

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

(A possibly-easier-to-read version of the previous comment lives at https://paper.dropbox.com/doc/Files-Tab-Title-Heuristics-UKvQZxp8PTFA7CsEolPXa)

Cody Garver (codygarver)
Changed in scratch:
milestone: 2.4 → juno-beta1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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