Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

File location is wrong on title #5058

Closed
tommytroylin opened this issue Jan 14, 2015 · 6 comments
Closed

File location is wrong on title #5058

tommytroylin opened this issue Jan 14, 2015 · 6 comments

Comments

@tommytroylin
Copy link

qq20150115-6

qq20150115-7

You can find the correct location on the tree view, but on title the location don't change.

If this location is represent for the current folder on the view, it will confuse the user. It will be a disaster for a user editing 2 files with the same name in different folders.

I think this title is to indicate the current file location, so this must be a bug..

@tommytroylin
Copy link
Author

My System & Version
Mac OS X Yosemite
Atom 172

@kevinsawicki
Copy link
Contributor

Yeah, the window title always show the format "filename - projectPath - Atom", it isn't currently meant to convey the full path to the folder containing the file, just the project path root.

@abejfehr
Copy link

abejfehr commented Mar 4, 2015

Does this overlap with #5585?

@Li-ReDBox
Copy link

I have an issue I am not sure if related to this: when two files have the same name but different locations, title is not updated with correct location (which is the second part of title as mentioned by @kevinsawicki above). Does Atom use some kind of dictionary which has too short keys?

@digitalkapitaen
Copy link

@abejfehr I think this is a duplicate of #5585 .

I understand that showing "filename - projectPath - Atom" as the window title is working a specified, but this highly unexpected behavior, especially on Mac OS:

  1. The title bar icon can be used as a drag'n'drop item for the file, so actually showing a different file path here is highly misleading (especially in a situation with two files with the same name).

  2. If two files are open, the top part of the window does not indicate which file is actually shown, unless you mouseover the tab. Again, very high potential to actually edit the wrong file (which will be very hard to detect, once it has happened). (See screenshot).

atom_pathproblem

@lock
Copy link

lock bot commented Apr 3, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked and limited conversation to collaborators Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants