diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.23k stars 39 forks source link

disk activity with every key press? #187

Open Ckosmick opened 9 months ago

Ckosmick commented 9 months ago

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

diamondburned commented 9 months ago

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

Ckosmick commented 9 months ago

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: @.***>

devlocalhost commented 9 months ago

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

diamondburned commented 6 months ago

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

diamondburned commented 6 months ago

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.