Project

General

Profile

Bug #5187

GUI should make apparent unsaved changes

Added by Derik Barseghian almost 9 years ago. Updated almost 9 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.

History

#1 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5187

Also available in: Atom PDF