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]: Buggy fast clicking counter on slow device #10

Closed
1 task done
dromse opened this issue Apr 11, 2024 · 0 comments
Closed
1 task done

[Bug]: Buggy fast clicking counter on slow device #10

dromse opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
Bug Something isn't working Linux

Comments

@dromse
Copy link
Owner

dromse commented Apr 11, 2024

What happened?

When I fast clicking on counter on slow device, in history saves not correct amount of clicks, but it's only if click very fast.

Steps to reproduce

  • Open Grind Manager Tasks
  • Device CPU frequency 800 MHz
  • Fast click on counter.

Possible solution: Implement Transaction Module

Prevent changing history file immediately after counter click, instead add transaction to update history and then resolve it.
If transactions to increase counter is more then ultimate value, remove rest operations on changing history.

Plugin Version

1.0.6

Obsidian Version

1.5.12

What platform are you seeing the problem on? (Can be multiple)

Linux

Relevant log output (Ctrl + Shift + I for PC or chrome://inspect for mobile)

No response

Additional questions

  • I want to work on this issue
@dromse dromse added Bug Something isn't working Linux labels Apr 11, 2024
@dromse dromse self-assigned this Apr 11, 2024
@dromse dromse closed this as completed in f6d93bc Apr 19, 2024
dromse added a commit that referenced this issue Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Linux
Projects
Status: Done
Development

No branches or pull requests

1 participant