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

[Bug] Cosmic files takes a long time to load if you have a lot of deleted files in the trash. #310

Open
amix3 opened this issue Aug 1, 2024 · 0 comments · May be fixed by #604
Open

[Bug] Cosmic files takes a long time to load if you have a lot of deleted files in the trash. #310

amix3 opened this issue Aug 1, 2024 · 0 comments · May be fixed by #604

Comments

@amix3
Copy link

amix3 commented Aug 1, 2024

The Bug:
Cosmic files taking a long time to load. it takes about 4 seconds for it to load completely.

How to reproduce:
Move a bunch of files to the trash can,
I am able to reproduce it when I move papirus-icon-theme files to the trash can.

screenshot-2024-08-01-11-20-29

After doing this the file manager takes a long time to load and gives these logs when i run it in the terminal:

[2024-08-01T11:11:30Z ERROR i18n_embed::fluent] Error while adding resource to bundle: Overriding { kind: Message, id: "undo" }. [2024-08-01T11:11:30Z WARN sctk_adwaita::buttons] Ignoring unknown button type: [2024-08-01T11:11:30Z WARN wgpu_hal::gles::adapter] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears. [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full } [2024-08-01T11:11:31Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

joshuamegnauth54 added a commit to joshuamegnauth54/cosmic-files that referenced this issue Oct 16, 2024
Closes: pop-os#310

Depends on Byron/trash-rs#120 which implements a function that only
checks if the trash is empty or not instead of parsing each item.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant