sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

Duplicate names only include path info when in same group/column

Open kenodegard opened this issue 5 years ago • 9 comments

Description

When two files with the same name are open they used to display additional path info to help distinguish between the two. This still happens if the files are open in the same group/column but if they are open in separate groups/columns then they do not include the additional info.

Steps to reproduce

  1. Open two files with the same name, each in its own group/column. Notice tabs. Screen Shot 2020-06-16 at 4 18 11 PM
  2. Drag one of the files over into the other group/column. Notice tabs. Screen Shot 2020-06-16 at 4 18 32 PM

Expected behavior

Expected the tabs to display the additional info whether in the same group/column or not.

Actual behavior

Depending on which group/column the files are in the tabs displays different info.

Environment

  • Build: 4074
  • Operating system and version: macOS 10.15.5

kenodegard avatar Jun 16 '20 21:06 kenodegard

Not sure which release resolved this but this is no longer occurring in 4077.

kenodegard avatar Jul 16 '20 17:07 kenodegard

And the issue is back in build 4079.

Is this somehow related to how cycling through tabs (CMD (⌘) + OPTION (⌥) + LEFT/RIGHT ARROW) no longer cycles through tabs across groups but only within a group?

kenodegard avatar Aug 09 '20 18:08 kenodegard

Fixed in build 4082

BenjaminSchaaf avatar Aug 19 '20 06:08 BenjaminSchaaf

Not seeing this in 4083.

Am I doing something wrong? I've restarted ST multiple times. I personally work where I have multiple folders open in a project but I've also tried to only have one folder open in the project and to open two files from that folder/subfolders. Still experiencing the same issue.

Here is the About + Changelog: Screen Shot 2020-08-19 at 10 39 54 AM

Here are tabs in the same group: Screen Shot 2020-08-19 at 10 36 19 AM

And in different groups: Screen Shot 2020-08-19 at 10 35 57 AM

kenodegard avatar Aug 19 '20 18:08 kenodegard

Ah ok, I think I was misreading this issue. The name disambiguation is supposed to only happen on a group basis. We did have a bug where moving sheets caused the disambiguation to break, that's what got fixed in 4083.

I'll reopen the issue, but I don't really see a benefit to names being disambiguated across groups.

BenjaminSchaaf avatar Aug 20 '20 01:08 BenjaminSchaaf

Hm well I'll often be comparing scripts side by side with the same name (setup.py and cousins are a prime example) from two or more completely different programs/code bases. Simply being able to glance at the tab name despite which group it's in to check which tab is which is very helpful. Further this is what ST3 does so doing otherwise would be a regression...

kenodegard avatar Aug 20 '20 01:08 kenodegard

I'll reopen the issue, but I don't really see a benefit to names being disambiguated across groups.

Often just reduces readability of tab labels.

deathaxe avatar Aug 20 '20 15:08 deathaxe

I do appreciate disambiguation across groups.

wbond avatar Aug 20 '20 15:08 wbond

Yea I tested ST3 and this does seem to be a regression.

BenjaminSchaaf avatar Aug 20 '20 15:08 BenjaminSchaaf