octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave plot window input focus


From: John W. Eaton
Subject: Re: Octave plot window input focus
Date: Sun, 31 Jan 2010 04:21:13 -0500

On 31-Jan-2010, David Grundberg wrote:

| ----- Ursprungsmeddelande -----
| > I was checking on matlab behavior and noticed that
| > when a command that creates a plot window is
| > executed:
| >
| > In matlab, the plot window has focus, but keyboard input goes
| > to the command window without having to switch focus.
| >
| > In Octave, the plot window has focus, but keyboard input
| > does not go to the command window.  Focus has to be switched
| > to the command window for input.
| >
| > This has been true, at least on X11  Linux systems for many years.
| > But, it has always seemed to me that it would be much better if
| > input focus stayed with the command window.
| >
| > Do people agree that this change would be a good idea (not
| > just for matlab compatibility)?  And, if so, any ideas where to look in the
| > Octave code to implement the change?
| >
| > There are two possible changes:
| >
| > 1. Do just like matlab.
| >
| > 2. Keep focus with the command window so that it is more obvious that
| >        the window will accept keyboard input.
| >
| > Michael
| >
| 
| Just keep it simple and keep the focus where it was. I don't think anyone but 
the user should decide where focus is. I insist - don't copy matlab on this.

I also find that applications that move the focus to be very annoying,
so let's not copy this by default.  If people really want this
feature, then let's make it configurable and NOT the default.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]