bugGNU Octave - Bugs: bug #50843, Ctrl-C in the command window...


bug #50843: Ctrl-C in the command window copies only first selected line.

Submitted by:  Bartosz <bor>
Submitted on:  Fri 21 Apr 2017 07:17:45 AM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Bor Open/Closed:  Closed
Release:  4.2.1 Operating 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)

Sat 03 Jun 2017 11:51:56 AM UTC, comment #7:

I recently upgraded one of my Win10 boxes to the Creators update and tried again.
I cannot reproduce this issue with the 4.2.1 w64 installer and a 4.3.0+ (Qt5) build.

Closing with "Works for me"

Philip Nienhuis <philipnienhuis>
Project Member
Mon 24 Apr 2017 10:58:20 AM UTC, comment #6:

Hey, thanks for all the info.
It's not a pressing issue for me - just wanted to let you all know that I encountered such problem.

Bartosz <bor>
Mon 24 Apr 2017 10:31:48 AM UTC, comment #5:

On my boxes (Win7 & Win10 both 64bit) + Octave-4.2.1 / 4.3.0+ (both NSIS installer types) it also works fine. Even in the terminal Ctrl-C works with Qt5 builds on Win10 (older build 10240). But see this message:

I'm afraid (but not 100 % sure) it's a Win10 update/upgrade issue. But I'm reluctant to let Win10 upgrade my boxes, I'll wait a few months until dust has settled down and we know what functionality/HW got broken by Win10 silent upgrade policies and what to do about it.

Philip Nienhuis <philipnienhuis>
Project Member
Sun 23 Apr 2017 06:42:46 PM UTC, comment #4:

Just to add, I have win7, 64bit with octave 4.2.1, 64 bit, zip installer, and do not see any copy paste issues like the bug describes.

Nicholas Jankowski <nrjank>
Fri 21 Apr 2017 03:35:42 PM UTC, comment #3:

Thanks for quick answer.

So the only difference is that your Win10 has been updated recently. I suppose that's what broke Octave's Ctrl-C behavior.
(it shows I didn't defer updates for nothing)

There's nothing I can do ATM, sorry.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 21 Apr 2017 10:33:19 AM UTC, comment #2:

Windows version: Windows 10 Pro (v 10.0.14393, Build 14393)
From "About Octave": configured for x86_64-w64-mingw32

Bartosz <bor>
Fri 21 Apr 2017 07:52:48 AM UTC, comment #1:

This works fine for me with Octave-4.2.1 for w64 (64-bit version) on Win10 Professional, see attached pic.

My Windows 10 build# = 10240 - could be older than current as I have set "defer updates".

What Windows 10 version / build no. and what Octave version (32 or 64 bit) do you have?

(file #40462)

Philip Nienhuis <philipnienhuis>
Project Member
Fri 21 Apr 2017 07:17:45 AM UTC, original submission:

Windows 10 Pro, x64

Select multiple lines in the command window.
Pres Ctrl-C or right click -> copy

Expected result:
- whole selection copied to clipboard

Actual result:
- only first line of selection copied to clipboard

Bartosz <bor>


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

Attach Files:

Attached Files
file #40462:  Ctrl-C.png added by philipnienhuis (205KiB - 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 nrjank (Posted a comment)
  • -email is unavailable- added by bor (Submitted the item)
  • -email is unavailable- added by bor

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

    Only project members can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-06-03 philipnienhuis StatusNeed Info => Works For Me
        Open/ClosedOpen => Closed
    2017-04-21 philipnienhuis Attached File- => Added Ctrl-C.png, #40462
        StatusNone => Need Info
    2017-04-21 bor Carbon-Copy- => Added bor

    Back to the top

    Powered by Savane 3.3