Bug#601829: Nothing is shown when data is created/edited through external text editor.

2011-01-09 Thread Nicholas Breen
On Sat, Oct 30, 2010 at 12:17:46AM -0700, Nicola Ferralis wrote:
 Package: grace
 Version: 5.1.22-8build1
 
 When data is created/edited through external text editor, nothing is
 shown in xmgrace, although a temporary file is created in the home
 folder. Previously (see bug #582154), the gnome preferred terminal was
 selected as the editor for grace. While this is still true, no data
 appear to be shown.

As it turns out, this is a rather annoying misfeature of both gnome-terminal[1]
and konsole[2]: unlike xterm and its derivatives, they will automatically
background themselves on launch, even when called with -e.  Therefore, grace
continues immediately, reading and unlinking the (empty) temporary file.  It
may be recreated later by saving from the editor, but then it's neither used
nor unlinked by grace.

This severely limits the options for fixing this bug without reopening #582154.
I think what I'll do is drop the use of the x-terminal-emulator alternative, in
favor of hardcoding the use of xterm.

- Nicholas


[1] https://bugzilla.gnome.org/show_bug.cgi?id=491807
[2] http://bugs.kde.org/show_bug.cgi?id=262169



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#601829: Nothing is shown when data is created/edited through external text editor.

2010-10-30 Thread Nicola Ferralis
Package: grace
Version: 5.1.22-8build1

When data is created/edited through external text editor, nothing is
shown in xmgrace, although a temporary file is created in the home
folder. Previously (see bug #582154), the gnome preferred terminal was
selected as the editor for grace. While this is still true, no data
appear to be shown.

To test:

1. Open grace.
2. Create a new set of data with the text editor.
3. Close the editor.

Expected: the data should be displayed in xmgrace

Actual: no data is shown and a temporary file (with the data) is saved
in the home folder.


I am using Ubuntu Maverick, kernel 2.6.35