Watch open files for changes

Bug #956965 reported by Sergey "Shnatsel" Davidoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
Medium
Mario Guerriero

Bug Description

Scratch should open the files currently open in it for changes.
Without that all I've just changed in the file with sed or whatever it was simply disappears on autosave, which is not good. Also creates an illusion that your sed (or BASH, or Perl) script didn't work and the file remained unchanged.

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

I don't understand what you exactly mean

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Test case:
$ echo "Okay, this is initial version of my file." > testfile
$ scratch testfile &
$ echo "Now I've overwritten the file with something else." > testfile
Expected behavior:
Scratch now shows "Now I've overwritten the file with something else."
What happens instead:
Scratch still shows "Okay, this is initial version of my file."

Changed in scratch:
status: New → Won't Fix
status: Won't Fix → Confirmed
importance: Undecided → Medium
milestone: none → luna-beta1
Changed in scratch:
assignee: nobody → Mario Guerriero (mefrio-g)
status: Confirmed → Fix Committed
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Wow. That was really swift, along with tab restoration bug.

Changed in scratch:
milestone: luna-beta1 → 1.1
status: Fix Committed → Fix Released
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.