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 persistent disk activity when typing message #190

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tfuxu
Copy link
Contributor

@tfuxu tfuxu commented Nov 4, 2023

This fixes a bug in input persist (or draft message) function of the message composer.

Before, when user typed a letter into composer, the contents of the text field were copied each time to configuration.
Now, this is done only when composer is unrealized (i.e. when user switches channels, or closes gtkcord).

Fixes #187

@diamondburned
Copy link
Owner

Can we also apply a cooldown for the autosave? I rely on this feature quite a lot, and it's really useful for crashes, since the saving is always reliable.

@tfuxu
Copy link
Contributor Author

tfuxu commented Nov 6, 2023

Can we also apply a cooldown for the autosave?

Sure, but I don't know how to implement that

diamondburned added a commit that referenced this pull request Nov 11, 2023
@diamondburned
Copy link
Owner

I think it would be best if this is done as a toggleable option instead.

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

Successfully merging this pull request may close these issues.

disk activity with every key press?
2 participants