Bug 380636

Summary: Don't ask about saving when workspace has not been modified
Product: [Applications] rkward Reporter: RKWard Team <rkward-devel>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description RKWard Team 2011-09-04 12:20:25 UTC
-- Originally posted by (AT sourceforge.net): *anonymous --

-- This ticket was imported from http://sourceforge.net/p/rkward/feature-requests/102 on 2017-05-31 14:48:58 +0100 --
If you start RKWard, create an empty workspace, and then close it \(or open an existing one\), you're asked about saving changes, even if you've done absolutely nothing. The same happens if you open an existing workspace and close it immediately.

I know detecting changes is probably hard, but maybe RKWard could simply remember whether any code was run, and avoid asking to save changes if that's not the case. That's a little detail, but it would make the app look much more clever and professional. ;-\)

\(This is with RKWard 0.5.6z+0.5.7+devel1.\)
Comment 1 Thomas Friedrichsmeier 2011-09-18 10:32:13 UTC
Moving this item to the feature request tracker.

A valid wish, but not entirely trivial to implement \(we are running a bunch of R code in any session, so we can't base a heuristic on that. However, R does keep track of whether the image was touch \(R\_DirtyImage\), and it should be possible to make use of that\).