Unmounting a removable drive makes Scratch think the files were removed

Bug #1198495 reported by Sergey "Shnatsel" Davidoff
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
Medium
Akshay Shekher

Bug Description

If I edit a file located on a removable drive and unmount the drive while Scratch is open, it claims that the file was deleted. It should silently close the relevant tabs instead if all changes are saved to the drive.

ProblemType: Bug
DistroRelease: elementary OS 0.2
Package: scratch-text-editor 2.0~r1114-0+pkg47~precise1
ProcVersionSignature: Ubuntu 3.2.0-48.74-generic 3.2.46
Uname: Linux 3.2.0-48-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.3+elementary3~precise1
Architecture: amd64
CrashDB: scratch_text_editor
Date: Sat Jul 6 21:17:55 2013
ExecutablePath: /usr/bin/scratch-text-editor
GsettingsChanges:

InstallationMedia: elementary OS 0.2 "Luna" - Daily amd64 (20130601)
MarkForUpload: True
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 SHELL=/usr/bin/fish
SourcePackage: scratch-text-editor
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :
Revision history for this message
Mario Guerriero (mefrio-g) wrote :

I don't think Scratch should check drive mount status. However we have to find a better solution of course.

Changed in scratch:
milestone: none → 2.1
importance: Undecided → Low
status: New → Confirmed
Changed in scratch:
milestone: 2.0.1 → 2.1
Cody Garver (codygarver)
Changed in scratch:
importance: Low → Medium
Changed in scratch:
assignee: nobody → Akshay Shekher (voldyman)
Changed in scratch:
status: Confirmed → In Progress
RabbitBot (rabbitbot-a)
Changed in scratch:
status: In Progress → Fix Committed
Changed in scratch:
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.