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

Fix dirmonitor sorting issues #1599

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

Guldoman
Copy link
Member

@Guldoman Guldoman commented Sep 9, 2023

This fixes:

  • the sporadic sorting issues that caused errors and some hangs while navigating the tree or getting tree changes;
  • the timeout detection while traversing the tree;
  • issues with \ in paths on non-Windows.

Likely fixes #1531, #1532 (maybe #1556 too?).

@SwissalpS could you confirm?

@SwissalpS
Copy link
Contributor

I'm in the middle of relocating again. Where I'm going to we don't even have power yet (off the grid solar). So this might take a while for me to be able to report anything useful.

@adamharrison adamharrison merged commit baa0c16 into lite-xl:master Nov 29, 2023
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Nov 30, 2023
* Use `PATHSEP` in path-related functions

* Don't stop on digits when getting the common part in `system.path_compare`

* Avoid sorting multiple times in `dirwatch.get_directory_files`

This also fixes the timeout detection in `recurse_pred`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

lite-xl hangs, possibly when large amounts of files changed Error on first launch
3 participants