bugGNU Octave - Bugs: bug #51843, Double-clicking variable should...

 
 

bug #51843: Double-clicking variable should open it in variable editor

Submitter:  Alexander Wilms <alexanderw>
Submitted:  Fri 25 Aug 2017 11:28:07 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  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

Mon 29 Jan 2018 04:35:29 PM UTC, comment #13: 

Verified that my example in comment #11 now works.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Mon 29 Jan 2018 01:55:49 PM UTC, comment #12: 

OK, I see the problem now.  I pushed the following change.  It seems to fix it for me.

http://hg.savannah.gnu.org/hgweb/octave/rev/1f1ac73910ab

John W. Eaton <jwe>
Group administrator
Mon 29 Jan 2018 03:43:38 AM UTC, comment #11: 

I'm also seeing this.


./run-octave -g
x = pi;
y = magic (3);
b = rand (5000);
# Select 'b', Right-Click and use "Open in Variable Editor"
# variable 'y' is displayed.


One thing to note on this that the selection doesn't seem to account for the sorting order of the column in the Workspace.  Try


clear all
x = 1;
y = 2;
z = 3;
## Click on the Workspace Column name so that the ordering is 'Name ^'
## and the order is
## z
## y
## x
## Now double click on the third row (x).  For me the variable z is displayed
## in the Variable Editor.  Similarly, double clicking on z will show x.
## This would be correct if the ordering were 'Name v'



Rik <rik5>
Group administrator
Sat 27 Jan 2018 09:20:26 PM UTC, comment #10: 

Yes, it is.

Alexander Wilms <alexanderw>
Sat 27 Jan 2018 08:04:35 PM UTC, comment #9: 

Is OCTAVE_ENABLE_ATOMIC_REFCOUNT defined in your config.h file?

John W. Eaton <jwe>
Group administrator
Sat 27 Jan 2018 08:00:50 PM UTC, comment #8: 

It seems to work properly for me.


John W. Eaton <jwe>
Group administrator
Sat 27 Jan 2018 07:35:38 PM UTC, comment #7: 

Hm, I tested it with two variables and in some cases the wrong one is shown in the editor:

>> a = 1

<open a in variable editor>

>> b = 2

<double click or use context menu entry on b doesn't open it in the variable editor>
<double click or use context menu entry on a opens b in the variable editor>

This doesn't happen when using `openvar`.

Should I create a new bug report for this?

Alexander Wilms <alexanderw>
Sat 27 Jan 2018 07:25:53 PM UTC, comment #6: 

Thanks, that does fix it.

Alexander Wilms <alexanderw>
Sat 27 Jan 2018 06:47:30 PM UTC, comment #5: 
John W. Eaton <jwe>
Group administrator
Sat 27 Jan 2018 06:37:20 PM UTC, comment #4: 

It seems like this regressed. Neither double clicking, nor using the context menu entry works. `openvar` works, though. This is with changeset 24644:e04a56630c8a on Fedora 27 KDE.

Alexander Wilms <alexanderw>
Fri 25 Aug 2017 09:11:56 PM UTC, comment #3: 

Thanks

Alexander Wilms <alexanderw>
Fri 25 Aug 2017 08:33:41 PM UTC, comment #2: 

Changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/cf16f6521180
adds the requested feature.

Torsten Lilge <ttl>
Group Member
Fri 25 Aug 2017 07:14:30 PM UTC, comment #1: 

Confirmed.
I am also wondering whether the variable editor should get focus when a new variable is edited. Currently, it is only made visible when hidden, but is not raised when, e.g. tabbed.

Torsten Lilge <ttl>
Group Member
Fri 25 Aug 2017 11:28:07 AM UTC, original submission:  

I ran the latest development version of Octave (changeset 23940:d260f54d7dde) with the new variable editor, and noticed that double-clicking on an item in the variable list won't open it in the editor.

Alexander Wilms <alexanderw>

 

(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 jwe (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by alexanderw (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-29 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-01-29 jwe StatusConfirmed Ready For Test
    2018-01-29 rik5 StatusFixed Confirmed
        Open/ClosedClosed Open
    2017-08-25 ttl StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2017-08-25 ttl StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code