Bug 380636 - Don't ask about saving when workspace has not been modified
Summary: Don't ask about saving when workspace has not been modified
Status: REPORTED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 12:20 UTC by RKWard Team
Modified: 2011-09-18 10:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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\).