bugGNU Octave - Bugs: bug #53002, Variable editor: keyboard shortcuts

 
 

bug #53002: Variable editor: keyboard shortcuts

Submitter:  Rik <rik5>
Submitted:  Mon 29 Jan 2018 05:19:10 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  ttl
Originator Name:  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

Mon 11 Jun 2018 08:09:48 PM UTC, comment #8: 

I have pushed the patch with cset
http://hg.savannah.gnu.org/hgweb/octave/rev/5f9f17a81e18

Closing the report.

Torsten Lilge <ttl>
Group Member
Mon 11 Jun 2018 04:21:24 PM UTC, comment #7: 

@Torsten: I briefly checked your patch.  It seems to work fine.  Go ahead and commit it and close this report.

Rik <rik5>
Group administrator
Thu 31 May 2018 08:15:38 PM UTC, comment #6: 

Item 2 of the original submission: This seems to work in the meantime.

Item 3: Do we need the distinction between "paste" and "paste table"? I have attached a patch, where "paste" always uses the method for "paste table".

(file #44265)

Torsten Lilge <ttl>
Group Member
Wed 23 May 2018 05:25:43 PM UTC, comment #5: 

Changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/a78e5b8d5ee7
provides a new class derived from QMainWindow for allowing closing the dock widgets with the commonly used shortcuts for closing tabs (in the editor and previously in the doc browser). Shortcuts for switching between the dock widgets will follow.

Torsten Lilge <ttl>
Group Member
Sun 13 May 2018 05:55:28 PM UTC, comment #4: 

This now is more complicated since the variable editor no uses dock widgets instead of a tab widget. There is no way by the API to get access to the tabbar in order to add a context menu or action for closing etc.

Maybe the popup menu when right clicking onto a dock widget's title bar offers a way to implement some kind of the functionality (close this, close other, etc.).

Torsten Lilge <ttl>
Group Member
Wed 07 Feb 2018 12:41:30 AM UTC, comment #3: 

Maybe it would be a good idea to move the "Tabs" shortcut section from the Editor to the global level.  The shortcuts for "Switch to Left Tab", "Switch to Right Tab", "Move Tab Left", "Move Tab Right" look useful generally.

Rik <rik5>
Group administrator
Tue 06 Feb 2018 08:09:23 PM UTC, comment #2: 

I have pushed changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/9b4edcc62936
adding a tab bar with context menu for closing tabs. The shortcuts are currently taken from the editor's preferences. This is also the case in the doc browser. Therefore, I suggest to have global shortcuts for "closing tabs".

Torsten Lilge <ttl>
Group Member
Tue 30 Jan 2018 07:42:30 PM UTC, comment #1: 

I will take care of it.

In addition, the tab bar could have a context menu and closing features via mouse clicks like the editors tab bar.

Torsten Lilge <ttl>
Group Member
Mon 29 Jan 2018 05:19:10 PM UTC, original submission:  

It would be nice if more of the standard keyboard shortcuts worked in the Variable Editor.  If necessary, that might mean adding a "Variable Editor" section to the Preferences->Shortcuts menu.

Item 1 : 'Ctrl+W" for close tab

Item 2 : Cut/Paste working at the display level, rather than just the editing variable level.

In a spreadsheet, I can move the cursor to a cell and press 'Ctrl+C' to copy the value.  I can then move to another cell and use 'Ctrl+V' to paste the value.  In the Variable Editor this does not work.  Instead, I have to double click on the cell that I want to edit to enter the edit mode, and then use 'Ctrl+V'.  Many, many people are used to the spreadsheet syntax for this.

Item 3 : Shortcut for "Paste Table" is unknown

I guessed, correctly, that Ctrl+V would be paste.  I don't know what the shortcut is for "Paste Table" so it always has to be done using the mouse.


Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44265:  bug53002.patch added by ttl (4KiB - text/x-patch)

 

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 rik5 (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-11 ttl StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2018-05-31 ttl Attached File- Added bug53002.patch, #44265
    2018-01-31 rik5 StatusNone In Progress
    2018-01-30 ttl Assigned toNone ttl

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code