- edited description
Titlebar should only have file name (not path and app name)
USE CASE: WHAT DO YOU WANT TO DO?
See the file name in the title bar and conform to standard mac GUI conventions.
STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)
- Open a file in a long path
CURRENT BEHAVIOR
The app name, file path, and file name are displayed in the title bar of the app. There is no file icon. If the path/file string is too long, the file name is truncated on the right side of the title bar. The app name is also displayed in the menu bar. The file path can also be elucidated by trying to open a new file.
EXPECTED BEHAVIOR
A Mac convention that is pretty much the standard for Mac GUIs is to only display the file name (with icon to the left) in the titlebar. The app name should not be in the titlebar, as it is redundant considering that the app name is in the menu bar at the top of the screen. The file name should not contain the path information. That is typically obtained by right-clicking on the file name in the title bar. Even though we won't have that functionality until the app is packaged (details cover this in another issue), I think we can eliminate the path from the titlebar so that the user can always see the file name instead of a truncated filename when the window is too narrow. Decreased access to the file path info is mitigated by the fact that users can determine the path by trying to open a new file.
This expected behavior may be different on Windows or Linux and I'm not familiar with those conventions. If they differ from the Mac conventions, we should check the OS and conform to each.
DEVELOPERS ONLY SECTION
SUGGESTED CHANGE (Pseudocode optional)
Simple string manipulation, but possibly check OS first.
FILES AFFECTED (where the changes will be implemented) - developers only
unknown
LEVEL OF EFFORT - developers only
trivial
COMMENTS
Comments (6)
-
reporter -
reporter - changed component to Packaging
Changed to packaging component because the titlebar convention is likely OS-specific.
-
reporter - changed title to Titlebar should only have file name (not path and app name)
-
repo owner - changed status to open
-
repo owner - changed status to resolved
resolved with pull request #120
-
reporter - changed component to Installation, Bundling, & Packaging
- Log in to comment
Typos