bugGNU Octave - Bugs: bug #51095, editor doesnt allow paste of...

 
 

bug #51095: editor doesnt allow paste of exisiting clipboard data

Submitter:  John Donoghue <lostbard>
Submitted:  Tue 23 May 2017 12:49:00 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  lostbard
Originator Name:  JohnD 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

Thu 22 Mar 2018 06:17:03 PM UTC, comment #11: 

Yes, the changeset was long before the merge of default into stable.

Torsten Lilge <ttl>
Group Member
Thu 22 Mar 2018 06:15:12 PM UTC, comment #10: 

Will the workaround be part of the 4.4.0 release in a few weeks?  If so, I think we cas leave this closed.

Rik <rik5>
Group administrator
Thu 22 Mar 2018 06:07:49 PM UTC, comment #9: 

What you are seeing is probably what is discussed in bug #52361. It seems that somehow the signaling of clipboard changes is broken on windows. A workaround to this was pushed to the default branch.

Torsten Lilge <ttl>
Group Member
Thu 22 Mar 2018 11:18:59 AM UTC, comment #8: 

With release 4.2.2 the problem reappeard.
I can copy and paste in the console window, I can copy in the editor window, but paste stays disabled in editor window.

I suggest this bug should be reopened.

Georg Wiora <gwiora>
Thu 25 May 2017 03:09:59 PM UTC, comment #7: 

Fixed on stable.  Closing report.

Rik <rik5>
Group administrator
Thu 25 May 2017 12:05:22 PM UTC, comment #6: 
John Donoghue <lostbard>
Group Member
Wed 24 May 2017 12:22:43 PM UTC, comment #5: 

I still something weird going on mainly in Windows, where the terminal window knows there is sdata on the clipboard that we can paste/but the main window/editor does not.

SO I will take another look before pushing the changes up

John Donoghue <lostbard>
Group Member
Tue 23 May 2017 11:39:26 PM UTC, comment #4: 

@John D.: I checked your patch and it works for me.  Go ahead and make it a full changeset and push it.

Rik <rik5>
Group administrator
Tue 23 May 2017 05:07:22 PM UTC, comment #3: 

The m-editor is calling setEnabled(false) on some of the  global actions when it is initially setting up the editor.

Patch here to fix issue, which should also ben pushed to stable.

(file #40771)

John Donoghue <lostbard>
Group Member
Tue 23 May 2017 12:56:32 PM UTC, comment #2: 

I'll take a look when I get a chance, unless someone else beats me to it

John Donoghue <lostbard>
Group Member
Tue 23 May 2017 12:55:32 PM UTC, comment #1: 

I also saw this on Ubuntu 16.04

Doug Stewart <dastew>
Tue 23 May 2017 12:49:00 PM UTC, original submission:  


If I select some text outside of octave and put it on the clipboard and then open the octave gui:

1. the octave main menu does not allow the paste option

2. the editor doesn't allow the paste option via context menu or toolbar

3. the command window Paste is always enabled and on selection of the paste menu pastes the data from the clipboard ok.


If I select data after octave is opened (either in octave or outside of octave) the paste items are then enabled.

I see the same both in octave-dev in fedora (running in a VM) and octave 4.2.1 in Windows 10 

John Donoghue <lostbard>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #40771:  bug51095.patch added by lostbard (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by gwiora (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by lostbard (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
    2017-05-25 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2017-05-25 lostbard Assigned toNone lostbard
    2017-05-25 lostbard StatusPatch Reviewed Ready For Test
    2017-05-23 rik5 StatusPatch Submitted Patch Reviewed
    2017-05-23 lostbard Attached File- Added bug51095.patch, #40771
        StatusConfirmed Patch Submitted
    2017-05-23 lostbard StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code