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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to