Project

General

Profile

Actions

Bug #3220

open

"Save" from TextEditor interferes with workflow save-before-closing prompt

Added by ben leinfelder over 16 years ago. Updated about 15 years ago.

Status:
New
Priority:
Normal
Category:
general
Target version:
Start date:
04/14/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3220

Description

While editing an RExpression script using the built-in TextEditor ("Open Actor"), Kevin Drury found that if he used "Save" from within the text editor window to save the contents of the script, closed that editor window, then closed the workflow window (that contained other unsaved changes), Kepler would not prompt him for a confirmation to save before closing the workflow. All changes would then be lost.
I've reproduced this behavior (we are both on a Mac).


Files

TextEditorForStringAttributes.java (7.02 KB) TextEditorForStringAttributes.java Aaron Aaron, 06/23/2008 06:36 PM
Actions #1

Updated by ben leinfelder over 16 years ago

aaron will take a look at this - really dives into the ptolemy code. Some starting places:
ptolemy.actor.gui.Effigy
ptolemy.actor.gui.TextEditor
ptolemy.vergil.toolbox.TextEditorForStringAttributes

Actions #2

Updated by Aaron Aaron over 16 years ago

ptolemy.vergil.toolbox.TextEditorForStringAttributes

This patch improves the way TextEditorForStringAttributes handles modified text and fixes bug 3220.

Actions #3

Updated by Aaron Aaron over 16 years ago

This patch fixes the bug but it still needs to be integrated into the ptolemy tree before we close this out.

Actions #4

Updated by Aaron Aaron about 15 years ago

Ben can you check in this patch? I can't figure out how to check files into the Ptolemy svn repo. Thanks

Actions #5

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3220

Actions

Also available in: Atom PDF