Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select/scroll to new directory after creation #16

Closed
inexorabletash opened this issue Sep 10, 2017 · 2 comments
Closed

Select/scroll to new directory after creation #16

inexorabletash opened this issue Sep 10, 2017 · 2 comments
Assignees
Labels
DeskTop DeskTop bugs or feature requests feature request User-facing feature additions/enhancements
Milestone

Comments

@inexorabletash
Copy link
Collaborator

No description provided.

@inexorabletash inexorabletash added DeskTop DeskTop bugs or feature requests bug labels Sep 10, 2017
@inexorabletash inexorabletash added this to the 1.2 milestone Jan 4, 2019
@inexorabletash inexorabletash added feature request User-facing feature additions/enhancements and removed bug labels Jan 6, 2019
@inexorabletash
Copy link
Collaborator Author

The window is completely refreshed, and the folder could be inserted anywhere, so one approach would be:

  1. Search icons for folder by name
  2. Select folder
  3. Scroll selection into view

Another would be to add the folder icon manually, rather than refreshing the window. This might be more elegant, but is more code churn and won't reduce the complexity significantly.

cmd_new_folder_impl is the logic - it's pretty simple at the moment. Need to slip the new logic in after the call to select_and_refresh_window

@inexorabletash
Copy link
Collaborator Author

I have the selection logic figured out. Scrolling is proving to be a maze of twisty passages...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DeskTop DeskTop bugs or feature requests feature request User-facing feature additions/enhancements
Projects
None yet
Development

No branches or pull requests

1 participant