bugGNU Octave - Bugs: bug #41194, GUI: Workspace dock shouldn't show...

 
 

bug #41194: GUI: Workspace dock shouldn't show internal variables

Submitter:  Felipe G. Nievinski <fgnievinski>
Submitted:  Fri 10 Jan 2014 07:34:46 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 13 Jan 2014 05:50:23 PM UTC, comment #7: 

I added a new feature request for the filter bar on the Workspace window (bug #41222).  Closing this report.

Rik <rik5>
Group administrator
Mon 13 Jan 2014 03:40:28 PM UTC, comment #6: 

nevermind, I misinterpreted the _var_ convention as if such variables are special or protected.

Felipe G. Nievinski <fgnievinski>
Sun 12 Jan 2014 06:31:17 PM UTC, comment #5: 

The convention that I defined and described in the manual is both leading and trailing double underscores, though looking now, the description might not be displayed in the most obvious location...

John W. Eaton <jwe>
Group administrator
Sun 12 Jan 2014 04:39:03 PM UTC, comment #4: 

I see what you are looking for now.  This would definitely have to be an optional feature.  The prefix '__' is just a convention we happen to use.  I could imagine other coders use a different prefix and would want to be able to specify the prefix.  Also, it is really bad to hide information from users unless they are completeley aware that the hiding is being done and have somehow acknowledged that they want it, such as a check box.

One thing that might be useful would be have an input line where user's could enter the same sort of expression that is used with the 'who' command.  This would then be applied to the Workspace listing.  This is the way that things are handled in the CLI when you might have a huge number of variables, but only want to see the variables that match a certain expression.

Something like


who x* y* z*


shows only variables beginning with x, y, or z and ignores others variables, such as 'ans', which aren't relevant.

Rik <rik5>
Group administrator
Sun 12 Jan 2014 03:22:22 PM UTC, comment #3: 

If you want to change this behavior, then it must be optional.

John W. Eaton <jwe>
Group administrator
Sun 12 Jan 2014 02:41:41 PM UTC, comment #2: 

your example serves well -- the workspace dock shouldn't list __my_var;  I'm attaching a screenshot. 

I realized this with _run_test_suite_ which would litter the workspace dock with lots of __* variables.


Felipe G. Nievinski <fgnievinski>
Sun 12 Jan 2014 01:57:38 AM UTC, comment #1: 

Could you provide an example?

I did


__my_var = 2;


And the variable shows up in the Workspace window even though it has the internal prefix '__'.

Rik <rik5>
Group administrator
Fri 10 Jan 2014 07:34:46 PM UTC, original submission:  

(those prefixed with double underscore, __)

splitting up bug #41159

Felipe G. Nievinski <fgnievinski>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30251:  Clipboard01.png added by fgnievinski (82KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by fgnievinski (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-13 rik5 StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2014-01-12 rik5 StatusWorks For Me None
    2014-01-12 fgnievinski Attached File- Added Clipboard01.png, #30251
    2014-01-12 rik5 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code