Last file string in initial window can distort the layout

Issue #520 new
Robert Leach created an issue

I thought there was an issue on this already, but I could not find it...

USE CASE: WHAT DO YOU WANT TO DO?

The last file I opened had a long directory path, but I want to see its name and extension before opening the last file.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Create a file with a long path and open it in treeview
  2. Quit
  3. Run treeview again

CURRENT BEHAVIOR

There's only 1 recent (last) file option to open and its full absolute path is displayed. If the file path is too long, it runs off the right side of the app window and other elements of the window end up off-center:

Screen Shot 2017-01-23 at 9.48.57 AM.png

When there are no last files, the button is grayed out.

EXPECTED BEHAVIOR

I think all the files in the recent menu should be able to be opened from the initial screen and that the full path is not necessary. Many mac apps only include the last parts of a file's path when there are more 1 item with the same name. I thin that would be easy to implement. We should present the user with a dropdown list next to the open last button with the most recently opened file pre-selected. It this is the first time running the app, don't show the open last functionality.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

none

FILES AFFECTED (where the changes will be implemented) - developers only

unknown

LEVEL OF EFFORT - developers only

minor

COMMENTS

Comments (0)

  1. Log in to comment