Project

General

Profile

Actions

Bug #5187

open

GUI should make apparent unsaved changes

Added by Derik Barseghian about 14 years ago. Updated about 14 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
interface
Target version:
Start date:
09/17/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5187

Description

When you modify a document in most applications, on Mac, the red close button changes to have a dot in its center, denoting there are unsaved changes. On other OSes, what's commonly done is to put an asterisk before the filename in the title bar. Kepler doesn't do this.

For the mac, this can almost be solved by just modifying TableauFrame.setModified to include:

JRootPane root = this.getRootPane();
if (modified){
root.putClientProperty( "Window.documentModified", Boolean.TRUE);
}
else{
root.putClientProperty( "Window.documentModified", Boolean.FALSE);
}

However we should also watch for undos, and undo the dot or asterisk as appropriate.

Actions

Also available in: Atom PDF