Currently, if both document and object names are the same the object view window title has repeated information.
A lot of document formats have only 1 object inside and are affected by the problem.
Example: COI [m] COI
Where the first COI is a file name and the second COI is an object name.
Multiple improvements can be made to improve the current state:
- There is no reason to include object type code to the window like: [m] because
- All windows have a dedicated "type" icon.
- If a window handles multiple types of an object showing a type only for one of them is not optional
- The object name is more important than the file name and must go first.
- Example: The same PDB file may have multiple molecules, having a common file name in the prefix hides important info in the suffix.
- The file name must be a complete file name and indented not to be confused with an object name.
Solution:
Use the following format <object-name>space[<complete-file-name-with-no-path>]
Example: COI [COI.aln]