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

Asynchronous handling of file operations, using a stack. #89

Open
GiorgosXou opened this issue Jan 27, 2024 · 2 comments
Open

Asynchronous handling of file operations, using a stack. #89

GiorgosXou opened this issue Jan 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@GiorgosXou
Copy link
Owner

GiorgosXou commented Jan 27, 2024

When deleting/coping/pasting/cuting huge or a lot of files, UI freezes. This is a result of: those operations, executing in the main thread (until they complete). To solve this, I was planning to use another thread: that would handle\execute those operations from a stack\list (probably using asyncio). But, due to loss of motivation and other tasks I didn't. So... unless anyone interested to implement it, it won't be available soon. If anyone interested, let me know before you start doing anything, so I can assign it to you and not have any conflict pripor to anything else. Aso, let me know if you need any help.

Additional context for future me or you:
change the name of this function to __prepare_files_for_action()

def __stack_files_for_action(self):

(This is one of the many ideas, I thought it would be nice to post as an issue instead of descussion)

@GiorgosXou GiorgosXou added the enhancement New feature or request label Jan 27, 2024
@b1ru
Copy link

b1ru commented Jan 29, 2024

I'm interested, can you assign it to me ?

@GiorgosXou
Copy link
Owner Author

@b1ru Sure! Although... tbh, you caught me a bit off guard 😅 (wasn't expecting a response so fast). Anyways, before we proceed with the assignment, let me know when you'll be ready and if you have any questions related to the code. PS. We can talk via discord if you are OK with it, for further informations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants