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


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

Submitted by:  Marshall <marsian>
Submitted on:  Thu 21 Dec 2017 10:56:44 PM UTC  
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: MarsianOpen/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission 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>
Project 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

Rik <rik5>
Project 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>
Project 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:

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>
Project 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by marsian (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 31 Jan 2018 12:00:38 AM UTCrik5StatusWorks For Me=>Fixed
    Tue 30 Jan 2018 01:11:39 AM UTCrik5SummaryConsole stops responding after copy/paste of Variable Editor data=>Variable Editor: console stops responding after copy/paste
    Tue 30 Jan 2018 01:11:06 AM UTCrik5StatusNone=>Works For Me

    Back to the top

    Powered by Savane 3.1-cleanup1