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

 
 

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

Submitted by:  Richard Suchland <suchland>
Submitted on:  Sat 28 Jan 2017 05:51:30 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Richard SuchlandOpen/Closed: Closed
Release: 4.2.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission 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>
Project 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 <ttl>
Project 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

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>
Project 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 <ttl>
Project 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 <ttl>
Project 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>
Project Administrator
Sat 28 Jan 2017 07:51:35 PM UTC, comment #1:

Confirmed on dev Octave.

Philip Nienhuis <philipnienhuis>
Project 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 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 ttl (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by suchland (Submitted the item)
  • -unavailable- added by suchland
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Feb 2017 03:44:54 PM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 04 Feb 2017 04:38:23 PM UTCttlStatusConfirmed=>Ready For Test
    Sat 28 Jan 2017 11:18:12 PM UTCrik5Operating SystemMicrosoft Windows=>Any
    Sat 28 Jan 2017 07:51:35 PM UTCphilipnienhuisStatusNone=>Confirmed
    Sat 28 Jan 2017 05:51:30 PM UTCsuchlandCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1