[kepler-dev] [Bug 5187] New: GUI should made apparent unsaved changes

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Sep 17 18:14:49 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5187

           Summary: GUI should made apparent unsaved changes
           Product: Kepler
           Version: 2.0.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: interface
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: barseghian at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org
   Estimated Hours: 0.0


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.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list