bugGNU Octave - Bugs: bug #45721, Editor takes focus when stopping...

 
 

bug #45721: Editor takes focus when stopping at keyboard statement

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Sat 08 Aug 2015 07:43:53 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 22 Sep 2015 12:05:48 PM UTC, comment #5: 

I'm going to have to close this since no one else can reproduce it.  If some other test case can be developed that shows the problem we can try to debug it.

Rik <rik5>
Group administrator
Sun 09 Aug 2015 07:40:18 PM UTC, comment #4: 

Hi Torsten, I just toggled the setting "Set focus to terminal.." and it doesn't seem to have any effect on this issue for me.

If I start the command in the terminal, then focus ends up in the Editor. However if I start the script inside the Editor (Save File and Run), then focus ends up in the terminal!

I'm on Xubuntu 14.04 by the way. I have focus set to follow the mouse pointer, but this is ignored by this bug/issue. The focus goes to the Editor regardless of where the mouse pointer is.

Ceral Paquet <octavebugs>
Sun 09 Aug 2015 05:40:26 PM UTC, comment #3: 

The issue is not reproducible on my system. I am observing the same as described by mike even when following your steps to reproduce. When starting the script from within the editor, the preference "Set focus to terminal ..." in the terminal preferences tab determines the where the focus is after the command is executed. Does this preference affects the issue on your system?

Torsten Lilge <ttl>
Group Member
Sun 09 Aug 2015 03:42:58 PM UTC, comment #2: 

Hi Mike,

I have the Editor undocked - that seems to make the difference. Also, it seems the script needs to be freshly saved.

1. Undock editor.
2. Save foo.m
3. Click in command window, type foo.
4. Type "hello"

For me, hello appears in the Editor at the keyboard command, i.e. the line reads hellokeyboard.

Is it reproducible now?


Ceral Paquet <octavebugs>
Sat 08 Aug 2015 09:20:36 PM UTC, comment #1: 

Not sure if I can reproduce this.

If I create a new script file called foo.m with a single line:


keyboard


And run foo in the command window, I get a debug prompt and focus stays in the command window. If I open the file in the editor and run the script from the editor, focus stays in the editor.

Mike Miller <mtmiller>
Group Member
Sat 08 Aug 2015 07:43:53 AM UTC, original submission:  

It's not a bug rather a preference.

I'm running a script and have a keyboard command in it. When the code stops at the keyboard command, the Editor takes the focus. Is it possible to leave the focus in the command window if I was calling the command from there?

Typical usage of debug mode (for me at least) is that I execute the script from the commandline then enter other commands in the commandline. No need for the focus to switched to the Editor.


Ceral Paquet <octavebugs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-22 rik5 Open/ClosedOpen Closed
    2015-08-08 mtmiller CategoryNone GUI
        Item GroupNone Feature Request
        StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code