bugGNU Octave - Bugs: bug #60990, Custom file editor not launched...

 
 

bug #60990: Custom file editor not launched when clicking on link or selecting edit-at-line from gui

Submitter:  Tasos Papastylianou <tpapastylianou>
Submitted:  Thu 29 Jul 2021 02:09:04 PM UTC
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Tasos Papastylianou Open/Closed:  * Closed
Release:  * 6.3.0 Operating System:  * GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Sun 01 Aug 2021 08:57:38 AM UTC, comment #1: 

Thanks for the report. I have pushed changeset http://hg.savannah.gnu.org/hgweb/octave/rev/116dbaba5a74 on stable which solves the bug.

Torsten Lilge <ttl>
Project Member
Thu 29 Jul 2021 02:09:04 PM UTC, original submission:  

Steps to reproduce:

1. Create a simple script containing a bug, which will trigger a typical octave error, e.g. a script testo.m containing only the line "asdf;" will trigger:

[octave prompt] testo
error: 'asdf' undefined near line 1, column 1
error: called from
    testo at line 1 column 1

2. The "testo at line 1 column 1" here is a clickable link (or, alternatively, right click and select "Edit testo at line 1").

If you have not disabled the gui-editor, this should open the file at the specified line in the built-in gui editor.

3. Now go to Edit -- Preferences -- Editor, tick "use custom file editor", and specify an external editor of your choice, e.g. "gedit %f +%l".

4. Now click on the link again (or alternatively, right click and select "Edit testo at line 1")

Expected result: Gedit editor should launch and open testo.m at line 1
Actual result: Nothing happens.

Notes: this happens with all editors tried, not just gedit bug. This includes console editors like nano/vi. Also, the edit command within octave works as expected, so this bug is exclusive to this 'clicking on an error link' behaviour.

Tasos Papastylianou <tpapastylianou>

 

(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 tpapastylianou (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 project members can vote.

     

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-08-01 ttl StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top


    Powered by Savane 3.9