ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.37k stars 105 forks source link

Slow Update with todo.txt file on a google drive. #555

Closed AshLind closed 7 months ago

AshLind commented 11 months ago

Bug Report

IMPORTANT: Please follow this template strictly when reporting bugs. Providing detailed and accurate information helps the development team to understand and address the issue effectively.

App Version: [1.3.1]

Platform: [Windows]

Installation Method: [Direct Download]

Bug Description: When todo.txt file is saved on a google drive directory, the update of the file takes 5+seconds. I set the file to be available while offline and that did not improve.

Tried with an almost empty todo.txt file and see same behavior.

Steps to Reproduce:

  1. Open file in Sleek
  2. Click completion box on a task
  3. Task status updates, but takes 5 seconds at least to update screen

Expected Behavior:

Actual Behavior:

Additional Information:

ransome1 commented 11 months ago

Hi @AshLind . Can I ask you to download the latest developer preview here in the GitHub releases and give me a feedback, if this issue also occurs with it?

AshLind commented 11 months ago

I downloaded the v2.0.0-dev19 and do still see this behavior when the todo.txt file is on G-Drive under Windows. I'm not seeing an issue with this release in dropbox - using it routinely the last couple of days. I really wanted the option to prepend the creation date, so running the dev version. todo.txt file is still small, so size is of no consequence.

On Mon, Oct 30, 2023 at 1:50 AM ransome @.***> wrote:

Hi @AshLind https://github.com/AshLind . Can I ask you to download the latest developer preview here in the GitHub releases and give me a feedback, if this issue also occurs with it?

— Reply to this email directly, view it on GitHub https://github.com/ransome1/sleek/issues/555#issuecomment-1784579337, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZ7ULBOJVI73XNGAYFAFFDYB5E43AVCNFSM6AAAAAA6VCC2VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGU3TSMZTG4 . You are receiving this because you were mentioned.Message ID: @.***>

--

J. Alan Stark, Ph.D. @.***

AshLind Consulting, Inc. www.AshLind.com 3787 East 82nd Street Tulsa, Oklahoma 74137 918-496-8536

ransome1 commented 11 months ago

You can switch to 2.0.0. It has been released yesterday and has the option to prepend the creation date.

About the Google folder I cannot give you any feedback yet.

The issue will most likely be related to the file watcher (chokidar) and whatever Google is doing.

I will add this to the backlog, however I am not sure if this can be solved on our side.

ransome1 commented 11 months ago

Can you please check if Google Drive has any settings in place, which indicate why there is this odd offset?

AshLind commented 11 months ago

Congratulations on the release - I will update.

The Google issue has been there I while - I experimented with todo.txt tools several months ago - like Sleek the best, but noticed that lag. At that time, I didn't associate it with Google Drive. Glad I kept my old dropbox account - the todo's are one thing I want in a location I can update from more than one place.

On Tue, Oct 31, 2023 at 2:28 AM ransome @.***> wrote:

You can switch to 2.0.0. It has been released yesterday and has the option to prepend the creation date.

About the Google folder I cannot give you any feedback yet.

The issue will most likely be related to the file watcher (chokidar) and whatever Google is doing.

I will add this to the backlog, however I am not sure if this can be solved on our side.

— Reply to this email directly, view it on GitHub https://github.com/ransome1/sleek/issues/555#issuecomment-1786629234, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZ7ULBQFEQARWZ4TTCLSB3YCCSBFAVCNFSM6AAAAAA6VCC2VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGYZDSMRTGQ . You are receiving this because you were mentioned.Message ID: @.***>

--

J. Alan Stark, Ph.D. @.***

AshLind Consulting, Inc. www.AshLind.com 3787 East 82nd Street Tulsa, Oklahoma 74137 918-496-8536

Piscean commented 11 months ago

FWIW, I have seen this as well in the past. Some of my machines see it, some don't.

I've updated to the 2.0 release on the machine I have with me (away from home for another week). I don't see the lag on this machine. Not sure if this machine just doesn't do it, or if the 2.0 release fixed it.

I also sometimes use the old Todotxt.net, that Ben Hughes developed. On the same machine, that app doesn't see the lag. So whatever the problem is/was, it seems to be Sleek related, not Google Drive related.

github-actions[bot] commented 8 months ago

This is an automated response. We acknowledge your report, and we appreciate your engagement. However, as there has been no recent activity in this thread, it has been marked as stale. If you have any further feedback or if the matter is still relevant, please do not hesitate to respond. Otherwise, this thread will be automatically closed in 15 days from now.

ransome1 commented 7 months ago

@Piscean let's hope that v2.x fixed this. If it happens again, please let me know in this thread and we will re-open it.

Piscean commented 6 months ago

I am seeing this issue again. I'm on Sleek version 2.0.13.0 and Windows 11.

ransome1 commented 5 months ago

@Piscean Hi. I'm not sure if there is anything I can do about it. The filewatcher implemented in sleek (Chokidar) is running more or less in its default configuration. It seems to work with most environments out there. Of course there are exceptions, like yours. Version 2.0.13 introduced a new setting, which represents the options of the filewatcher: https://github.com/ransome1/sleek/wiki/Settings#chokidaroptions

If you understand how to set the Chokidar options you might be able to solve the issue on your end. But you would need to read through the Chokidar documentation to see which of the options might be suitable to solve the problem on your end.