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

Application start delayed until all locations are indexed. #2170

Open
RayJW opened this issue Mar 6, 2024 · 0 comments
Open

Application start delayed until all locations are indexed. #2170

RayJW opened this issue Mar 6, 2024 · 0 comments
Labels
kind/bug Something isn't working status/needs-triage

Comments

@RayJW
Copy link

RayJW commented Mar 6, 2024

Describe the bug

Spacedrive doesn't launch until all locations that have been added are indexed. While this may seem desirable behaviour at first, I have a (probably common) use case where this causes huge issues. I added a location on an HDD because I want a convenient bookmark to get there and use the associated features. However, this location is a few hundred GB's big. This means whenever I try to launch Spacedrive after a few changes there the application doesn't launch for tens of seconds if not minutes. Luckily, I know the app is not broken because I can physically hear the indexing on the HDD, but I think that's not a very convenient way of handling things. Personally, I think it would make much more sense to have a disclaimer or banner when navigating to such a location that indexing is not done yet, instead of making the file manager inaccessible for potentially multiple minutes.

Reproduction

  1. Add any big location to Spacedrive and let it probably be on an HDD or a very large folder on a slow SSD.
  2. Make many changes to this folder, let's say you add a location where you store games and install a new game.
  3. Start Spacedrive and look at the delay while starting and also monitor disk activity.

Expected behavior

Spacedrive should just start and continue indexing in the background. Probably also add a warning or disclaimer to features that rely on the indexing to make the user aware of unexpected behaviour when e.g. searching.

Platform and versions

I'm using the 0.2.4 deb alpha installed on Pop!_OS 22.04 which is based upon Ubuntu 22.04 with the following output for pnpm --version && cargo --version && rustc --version:

8.15.4
cargo 1.76.0 (c84b36747 2024-01-18)
rustc 1.76.0 (07dca489a 2024-02-04)

Stack trace

No response

Additional context

No response

@RayJW RayJW added kind/bug Something isn't working status/needs-triage labels Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working status/needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant