dissent icon indicating copy to clipboard operation
dissent copied to clipboard

disk activity with every key press?

Open Ckosmick opened this issue 2 years ago • 5 comments

I'm on a machine with a fairly old SSD and I'm kinda concerned that this is going to needlessly waste what remains of its lifespan

Ckosmick avatar Nov 01 '23 03:11 Ckosmick

That's interesting. How are you determining that? Do you know where it's writing to?

diamondburned avatar Nov 01 '23 07:11 diamondburned

unsure about location, but reproducible by typing into message box. very brief but any key press causes disk LED to flash just barely


From: Diamond @.> Sent: Wednesday, November 1, 2023 3:56:56 AM To: diamondburned/gtkcord4 @.> Cc: Ckosmick @.>; Author @.> Subject: Re: [diamondburned/gtkcord4] disk activity with every key press? (Issue #187)

That's interesting. How are you determining that? Do you know where it's writing to?

— Reply to this email directly, view it on GitHubhttps://github.com/diamondburned/gtkcord4/issues/187#issuecomment-1788555767, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVE27AJYLVDGHMNI6M34O4TYCH6ERAVCNFSM6AAAAAA6YVLTESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBYGU2TKNZWG4. You are receiving this because you authored the thread.Message ID: @.***>

Ckosmick avatar Nov 01 '23 09:11 Ckosmick

i can confirm this, with every key press, the led flashes (ssd)

devlocalhost avatar Nov 03 '23 11:11 devlocalhost

06daa3e adds a new option that disables input persistence completely, instead saving it to an on-memory map. Does this work?

diamondburned avatar Feb 11 '24 02:02 diamondburned

#190 changes the behavior to only persist on unfocus, but unfortunately, gotkit/app/prefs doesn't have a good way to have localized enum list preferences, so we'll have to use a boolean one.

diamondburned avatar Feb 11 '24 02:02 diamondburned