bugGNU Octave - Bugs: bug #50171, GUI won't create a new function

 
 

bug #50171: GUI won't create a new function

Submitter:  Richard Suchland <suchland>
Submitted:  Sat 28 Jan 2017 05:51:30 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Richard Suchland Open/Closed:  * Closed
Release:  * 4.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 05 Feb 2017 03:44:54 PM UTC, comment #7: 

Okay, everything works now.  Thanks Torsten.

Marking as Fixed and closing report.

Rik <rik5>
Group administrator
Sun 05 Feb 2017 11:12:21 AM UTC, comment #6: 

Correct, I have inserted the connect command into the new tab function instead the editor's constructor, i.e. it is not connected before a new tab was created. Fixed with cset
http://hg.savannah.gnu.org/hgweb/octave/rev/d133d90b495a


Torsten Lilge <ttl>
Group Member
Sat 04 Feb 2017 05:20:09 PM UTC, comment #5: 

The bug is almost fixed.  But I seem to have found a corner case that fails.

If I start Octave with


./run-octave -f


And then as the first action do File->New Function, type in a name such as "xyz", then no script is created.

On the other hand, if I start Octave, switch the window tab from "Command Window" to "Editor", switch the window tab back to "Command Window", then proceed with File->New Function it works.





Rik <rik5>
Group administrator
Sat 04 Feb 2017 04:38:23 PM UTC, comment #4: 

This bug should be fixed with cset
http://hg.savannah.gnu.org/hgweb/octave/rev/f268b33a96d3
(tested on Linux)

Torsten Lilge <ttl>
Group Member
Sat 04 Feb 2017 02:52:12 PM UTC, comment #3: 

Somehow the required signal-connection got lost. I am going to prepare a changeset for the stable branch.

Torsten Lilge <ttl>
Group Member
Sat 28 Jan 2017 11:18:12 PM UTC, comment #2: 

Checked on Linux and the behavior is the same so I changed the OS to Any.

Rik <rik5>
Group administrator
Sat 28 Jan 2017 07:51:35 PM UTC, comment #1: 

Confirmed on dev Octave.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 28 Jan 2017 05:51:30 PM UTC, original submission:  

File -> New Function ... successfully opens the New Function popup window and allows entry of a function name, but does not create a editor entry with the default text.
This works on my system with version 4.0.0.

Richard Suchland <suchland>

 

(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 ttl (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by suchland (Submitted the item)
  • -email is unavailable- added by suchland
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-05 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2017-02-04 ttl StatusConfirmed Ready For Test
    2017-01-28 rik5 Operating SystemMicrosoft Windows Any
    2017-01-28 philipnienhuis StatusNone Confirmed
    2017-01-28 suchland Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code