bugGNU Octave - Bugs: bug #59478, Readline movement commands...

 
 

bug #59478: Readline movement commands shadowed by menu shortcuts

Submitter:  Luis Kao <kogiokka>
Submitted:  Wed 18 Nov 2020 03:41:27 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Luis Kao Open/Closed:  * Closed
Release:  * 5.2.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 13 Dec 2020 08:40:30 AM UTC, comment #9: 

Yes, I've tested it and it works perfectly for me. Thanks!

Luis Kao <kogiokka>
Sat 12 Dec 2020 04:02:42 AM UTC, comment #8: 

Can this be closed?  The cset was pushed more than two weeks ago.

Rik <rik5>
Group administrator
Fri 20 Nov 2020 07:17:31 PM UTC, comment #7: 

I have pushed cset http://hg.savannah.gnu.org/hgweb/octave/rev/2a70a068c4ab (default branch) which adds a new preference (in the shortcuts tab) for disabling menu accelerators when the command window has focus.

Torsten Lilge <ttl>
Group Member
Thu 19 Nov 2020 08:53:06 PM UTC, comment #6: 

I have seen that I have already implemented that the menu shortcuts of the main window are disabled when the editor gets focus. Otherwise using the accelerators in the docked editor might trigger the menus of the main menu. I am preparing a patch that extends this feature for the command window, too.

Torsten Lilge <ttl>
Group Member
Thu 19 Nov 2020 07:58:46 PM UTC, comment #5: 

FWIW, as a workaround you can use the sequence Esc followed by f or b instead of holding down Alt+f or Alt+b, if you need to use these readline functions and are averse to Ctrl + cursor keys for some reason.

Mike Miller <mtmiller>
Group Member
Wed 18 Nov 2020 03:32:32 PM UTC, comment #4: 

If there is a way to turn off the menu accelerators all together, I suggest making it a different option from the "Disable global shortcut..." one. Chances are people want to turn off the accelerators but keep the global shortcuts.

Luis Kao <kogiokka>
Wed 18 Nov 2020 06:43:22 AM UTC, comment #3: 

The Alt-Key menu accelerators are not disabled by the option. I am not sure if this is possible without renaming the menus (removing the "&") and will look into this.

Torsten Lilge <ttl>
Group Member
Wed 18 Nov 2020 06:28:15 AM UTC, comment #2: 


comment #1:

> Check out the "Disable global shortcuts when Command Window has focus" option in the "Shortcuts" tab of the Preferences dialog.  Does that do what you want?


Nope. The option is on by default, and it does not effect the Alt-key shortcuts of opening menus.

Luis Kao <kogiokka>
Wed 18 Nov 2020 03:57:22 AM UTC, comment #1: 

Check out the "Disable global shortcuts when Command Window has focus" option in the "Shortcuts" tab of the Preferences dialog.  Does that do what you want?

John W. Eaton <jwe>
Group administrator
Wed 18 Nov 2020 03:41:27 AM UTC, original submission:  

In the GUI environment, forward-word and backward-word commands are shadowed by menu shortcuts: Alt-F triggers File menu and Alt-B triggers Debug menu. These two movement commands are essential when editing scripts in Command Window. A possible fix is to add an option turning off menu shortcuts when Command Window is focused.

Luis Kao <kogiokka>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by kogiokka (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-16 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-11-20 ttl StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code