bugGNU Octave - Bugs: bug #55497, No or wrong default file name when...

 
 

bug #55497: No or wrong default file name when saving a classdef file

Submitted by:  Andrew Janke <apjanke>
Submitted on:  Thu 17 Jan 2019 04:26:31 AM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Thu 24 Jan 2019 11:03:31 PM UTC, comment #2: 

It works! Thanks.

Andrew Janke <apjanke>
Thu 24 Jan 2019 08:39:45 PM UTC, comment #1: 

I checked in a changeset that should take care of this (https://hg.savannah.gnu.org/hgweb/octave/rev/7994f91cbdb8).  It only detects the pattern "classdef NAME".  If you are doing inheritance or providing attributes it will probably fail.  Still, this should be good enough for most cases.

Marking as Ready for Test.

Rik <rik5>
Project Administrator
Thu 17 Jan 2019 04:26:31 AM UTC, original submission:  

In the Qt GUI, if I run "edit" to pull up a new filew, enter a classdef definition in the new file, and then save it, the Save As dialog gets the default file name wrong. If the class has any methods defined, the name of the first method is used for the M-file name. If the class has no methods defined, the default file name is blank. I would expect it to use the name of the class as the default file name in any case.

Low priority, obviously.

Andrew Janke <apjanke>

 

(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 apjanke (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-24 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2019-01-24 rik5 StatusNone => Ready For Test
        Release4.4.1 => dev

    Back to the top


    Powered by Savane 3.5