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

 
 

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

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Sat 08 Aug 2015 07:43:53 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: Works For MeAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 <ttl>
Project 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:

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>
Project Administrator
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Sep 2015 12:05:48 PM UTCrik5Open/ClosedOpen=>Closed
    Sat 08 Aug 2015 09:20:36 PM UTCmtmillerCategoryNone=>GUI
      Item GroupNone=>Feature Request
      StatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1