Don't warn about unsaved changes for an empty file

Bug #889371 reported by Danielle Foré
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
Medium
Unassigned

Bug Description

If I create a document, type some stuff, then erase all of it I will still receive an "unsaved changes" dialog.

Changed in scratch:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 1.1
Revision history for this message
David Gomes (davidgomes) wrote :

I think we need to think about this. It's "better to get an obnoxious warning than losing work". Sometimes we may delete all text and then close Scratch by accident.

All text editors I tried ask you to save/quit with blank files.

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

David, Daniel is right! If you open a file, then you type at the end of it "scratch" then you erase this new string, scratch shouldn't ask for save new changes

Changed in scratch:
status: Confirmed → Fix Committed
Changed in scratch:
status: Fix Committed → Fix Released
milestone: luna-beta1 → 1.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.