Option to save on focus-out only
Bug #1039257 reported by
Tom Beckmann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scratch |
Fix Released
|
Low
|
Unassigned |
Bug Description
I'd suggest to only save on focus-out, since it practically makes no difference, it just reduces the number of writes.
Using Scratch heavily often makes my computer do weird noises.
Related branches
lp:~shnatsel/scratch/decrease-disk-load
- Mario Guerriero (community): Approve
-
Diff: 35 lines (+10/-2)1 file modifiedsrc/Services/Document.vala (+10/-2)
summary: |
- Save on focus out only + Option to save on focus-out only |
Changed in scratch: | |
milestone: | 2.0 → 2.1 |
Changed in scratch: | |
milestone: | 2.0.1 → 2.1 |
Changed in scratch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I really appreciate the disaster-proof nature of Scratch file saving. And data integrity is typically valued more than performance; for example, disabling all the data integrity mechanisms in the file system yields a ~5x performance boost, yet nobody does that.
However, laptops have built-in UPS (battery) and dislike frequent disk writes for power usage reasons, so maybe we could detect if a battery is present and disable save-as-you-type. But even then I'd use saving every 30 seconds or so instead of completely disabling it.