bugGNU Octave - Bugs: bug #52721, Variable Editor: console stops...

 
 

bug #52721: Variable Editor: console stops responding after copy/paste

Submitter:  Marshall <marsian>
Submitted:  Thu 21 Dec 2017 10:56:44 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Marsian Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 31 Jan 2018 12:00:38 AM UTC, comment #7: 

Awesome.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Tue 30 Jan 2018 11:57:50 PM UTC, comment #6: 

Yes, it works now. I haven't been able to get it to freeze. I don't even see the substitute x's when copying large data and not scrolling to load the data first.

Marshall <marsian>
Tue 30 Jan 2018 01:11:06 AM UTC, comment #5: 

@Marshall: Could you re-check whether this is still a problem?  There has been a lot of work on the Variable Editor in January.

I'm using Linux, and things work for me pasting in to LibreOffffice.

I did


x = rand (1000,1000);
openvar x
# Select first 3 columns with mouse, Copy, Paste into spreadsheet



Rik <rik5>
Group administrator
Sat 30 Dec 2017 09:50:43 PM UTC, comment #4: 

BTW, initially pasting into the variable editor did work (on Linux), but IIRC arrays got transposed in the variable editor. That observation however is from some years ago.
A WAG is that some interference from shortcuts defined elsewhere in the GUI might be related to pasting not working anymore.

Philip Nienhuis <philipnienhuis>
Group Member
Fri 22 Dec 2017 12:47:14 AM UTC, comment #3: 

Changing the "Set focus to terminal..." option didn't change anything.

Marshall <marsian>
Fri 22 Dec 2017 12:46:32 AM UTC, comment #2: 

Maybe it has something to do with the quantity of data copied. When I tried with smaller arrays, there was no problem. But when I did it with the larger data I first tried it with (399490 elements) then it froze the command prompt again. I tried pasting into a text editor and it did the same (working to paste, but stopping to respond only when a large number of elements was copied).

Pasting anything to the variable editor doesn't seem to work at all either from direct text, or excel, or data copied from another "cell" in the variable editor.

Marshall <marsian>
Thu 21 Dec 2017 11:58:26 PM UTC, comment #1: 

Works fine for me, copying into LibreOffice Calc that is.
I'm surprised copy/paste from Octave works at all, it didn't work for a long time.

Does setting "Set focus to terminal when running a command from within another widget" in the terminal preferences make a difference?

Copying from outside to the variable editor still doesn't work here; when trying to copy a 9x3 block of cells in LibreOffice Calc into a 10x3 array in the variable editor (i.e. big enough) I get:

>> error: eval: invalid use of statement list
error: parse error


for every row I try to paste.

I think the "x"es you mention indeed relate to the fact that the variable editor didn't yet render the values in cells outside the variable editor pane. Scrolling down and up may help.

(my box: Win 7 64-bit)

Philip Nienhuis <philipnienhuis>
Group Member
Thu 21 Dec 2017 10:56:44 PM UTC, original submission:  

Octave stops responding after I copy data from the variable editor and paste it into excel.

I open a variable in the variable editor, then click on the top of the column (the variable I copy happens to be a single column vector), I right click and select copy column. I paste it into excel. (Sometimes some of the data is the x's that seem to suggest the data hasn't been read/shown in the variable editor yet). I return to the octave console and try to type something and nothing appears. The editor stays responsive, the variable editor appears responsive, the workspace browser seems unresponsive. I try pressing Ctl-c in the octave console to get back focus, and one of the times it briefly showed some prior text I typed earlier, but remains unresponsive after. Pressing Ctl-c more times crashes octave.

Marshall <marsian>

 

(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 marsian (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-31 rik5 StatusWorks For Me Fixed
        Open/ClosedOpen Closed
    2018-01-30 rik5 SummaryConsole stops responding after copy/paste of Variable Editor data Variable Editor: console stops responding after copy/paste
    2018-01-30 rik5 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code