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

Reopen library at the same place as before? #12566

Open
mxmilkiib opened this issue Jan 14, 2024 · 4 comments
Open

Reopen library at the same place as before? #12566

mxmilkiib opened this issue Jan 14, 2024 · 4 comments

Comments

@mxmilkiib
Copy link
Contributor

mxmilkiib commented Jan 14, 2024

Feature Description

After restarting the app, it would be cool to come back to the same library position when starting it again.

See also #6880 #9606 #5575

@ronso0
Copy link
Member

ronso0 commented Jan 14, 2024

Please correct me if I'm wrong, IMHO it's not easy, for example if we consider the Computer feature and external libraries.

@ronso0 ronso0 added the library label Jan 14, 2024
@mxmilkiib
Copy link
Contributor Author

In the situation that the path doesn't exist, just go to the root Computer bit, imo.

@ronso0
Copy link
Member

ronso0 commented Jan 14, 2024

Sure.
Thing is this, currently the path is loaded by right-clicking a sidebar item. The entire sidebar tree model is built lazily each time a item is selected.
So, setting a path programatically and selecting the respective sidebar item requires a huge refactoring. Not to mention the fact the Computer feature is some sort of hack currently, at least it has flaws that also affect UX (e.g. track views are repopulated from scratch each time a directory is selected).

I'm not saying it can't or shouldn't be done, but it's definitely not easy to implement it consistently for all library features.

@mxmilkiib
Copy link
Contributor Author

mxmilkiib commented Jan 14, 2024

I'm more thinking about Crates and scroll bar position.

For the case of the "Computer" icon, if it was focused last on Mixxx exit, just show the root space on restarting the app?

(I never use the Computer feature, and I would hide it if I could.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants