code icon indicating copy to clipboard operation
code copied to clipboard

Prompt user with an infobar on whether they want to keep the HDD containing the file spun up

Open hanaral opened this issue 4 years ago • 0 comments

What Happened

I was editing a new file for an assignment and when I tried to save the document to my ext. HDD it turns out it hadn't. I persume this happened because Code didn't keep the drive spun up until the file was saved and tried to save the file to a sleeping drive. Either way I lost an hours worth of work.

Expected Behavior

Code does not let external drives go to sleep until the user has saved the new document to a specific location, or it at least gives a warning message saying the user should wait for it to save while it spins back up.

Steps to Reproduce

  1. open a new tab
  2. write for long enough that the ext. drive you want to save to spins down
  3. try to save
  4. close the tab
  5. try to find the file you 'saved'

Platform Information

elementary OS 6 Daily

hanaral avatar Apr 03 '21 12:04 hanaral