bugGNU Octave - Bugs: bug #55623, Path management in the GUI


bug #55623: Path management in the GUI

Submitter:  Guillaume <gyom>
Submitted:  Fri 01 Feb 2019 04:31:18 PM UTC
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Sun 21 Jul 2019 02:10:23 PM UTC, comment #6: 

Changeset http://hg.savannah.gnu.org/hgweb/octave/rev/aaf788e496a3 provides the menu entriesfor removing a dir with or without subdirs from the path.

Remaining discussion on a separate dialog for managing the path shoudl be discussed at bug #43549. Closing this report.

Torsten Lilge <ttl>
Group Member
Sat 20 Jul 2019 03:24:04 PM UTC, comment #5: 

I have pushed changeset http://hg.savannah.gnu.org/hgweb/octave/rev/6a6b5ae3d58d which implements the context menu in the file browser for adding directories to the path (see OS). Menus for removing directories form the path will follow.

Torsten Lilge <ttl>
Group Member
Tue 05 Feb 2019 07:05:08 PM UTC, comment #4: 

Take a look at bug #43549.  There is already a patch there, although I don't know how useful it is.

Rik <rik5>
Group administrator
Tue 05 Feb 2019 05:36:20 PM UTC, comment #3: 

Yeah, users doing the Save thing in pathtool is what's always caused problems for me. I have no issue with an interactive tool for addpath/genpath/rmpath and the like.

Andrew Janke <apjanke>
Tue 05 Feb 2019 04:29:58 PM UTC, comment #2: 

Thanks, I had seen your comment about "Set path" on the help-octave mailing list:


I don't use the GUI much myself but what I'm suggesting is just a way to do interactively what addpath(), addpath(genpath()) and rmpath() are doing from the command line - I don't think there is anything controversial there (apart from genpath() which I would try to minimise usage). Now your comment seems to be mainly about the "Save" button in pathtool(); this functionality is already implemented in Octave with savepath() and pathdef().

Guillaume <gyom>
Tue 05 Feb 2019 12:45:06 PM UTC, comment #1: 

My two cents: If you do this, it shouldn't completely mimic the behavior of Matlab's pathtool. Matlab's pathtool persistently modifies the global Matlab path in the Matlab installation itself, which is problematic for shared or managed Matlab installations. It should probably be a per-user setting instead.

Andrew Janke <apjanke>
Fri 01 Feb 2019 04:31:18 PM UTC, original submission:  

Looking at the Octave GUI, I don't see any user interface to set the path, as there is in Matlab.

Matlab has a "Set Path" button that calls "pathtool":

And in the contextual menu of the File Browser, one can:
  Add to Path > Selected Folders
              > Selected Folders and Subfolders
  Remove from Path > Selected Folders
                   > Selected Folders and Subfolders

Guillaume <gyom>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


   bug dependencies.

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 apjanke (Posted a comment)
  • -email is unavailable- added by gyom (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 group members can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-21 ttl StatusNone Fixed
        Open/ClosedOpen Closed
    2019-02-05 rik5 Dependencies- Depends on bugs #43549

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code