bugGNU Octave - Bugs: bug #60356, GUI: Paste with Ctrl-V disable...

 
 

bug #60356: GUI: Paste with Ctrl-V disable after opening context menu

Submitted by:  None
Submitted on:  Wed 07 Apr 2021 06:42:06 PM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Otto Urpelainen Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  6.2.0
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Fri 09 Apr 2021 05:38:36 AM UTC, comment #4: 

I tested the menu on the top of the window also. "Edit"->"Paste" is always greyed out, even if there is text on the clipboard and Ctrl-V worked just before opening the menu. Also, opening any of the top menus disables paste just like opening the context menu does.

Otto Urpelainen <oturpe>
Thu 08 Apr 2021 08:03:05 PM UTC, comment #3: 

Then the context menu seems to disable the "paste"-action (for whatever reason). I assume that the menu entry "Edit"->"Paste" in the main window is also grayed out after the issue occurred? 

Torsten Lilge <ttl>
Project Member
Thu 08 Apr 2021 07:28:15 PM UTC, comment #2: 

The problem affects both console and editor widget.

When I was testing that, I also discovered that the situation can be reverted simply by copying text to clipboard again. As if the clipboard was emptied when the context menu is opened. But the clipboard is not actually empty, because the original text can still be pasted to other application than Octave.

I tried Octave from Ubuntu 20.04 repositories as well. That worked just fine.

Perhaps this is a Fedora problem actually, if other distributions do not suffer from this?

Otto Urpelainen <oturpe>
Thu 08 Apr 2021 05:15:11 PM UTC, comment #1: 

Thank you for the report. I can not reproduce this with a recent build of the stable branch (6.2.1) on Debian. Are you pasting into the console or editor widget? Does it make a difference?

Torsten Lilge <ttl>
Project Member
Wed 07 Apr 2021 06:42:06 PM UTC, original submission:  

On startup, clipboard contents can be pasted to Octave GUI with Ctrl-V shortcut. This stops working after editor's context menu has been opened with right mouse click. This happens even if the menu is closed without selecting any option, by clicking somewhere outside the menu.

Additionally, on first menu open the Paste option is selectable but does not do anything, but on subsequent menu opens it is greyed out.

Release: 6.2.0, tested that this happens also on 5.2.0.
Environment: Fedora 34 Beta, Fedora 33
Build: Happens with Octave 5.2.0 installed from package repositories of both tested Fedora versions, and also with Octave that is locally built from 5.2.0 and 6.2.0 tarballs from Octave download page.

To reproduce:
1. Copy some text to clipboard
2. Start Octave Gui
3. Paste the text with Ctrl-V, observe success
4. Open context menu, select Paste, observe nothing happens
5. Open context menu again, observe Paste is greyed out
6. Close context menu
7. Try pasting with Ctrl-V, observe nothing happens

Anonymous

 

(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 oturpe (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    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.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.6