bugGNU Octave - Bugs: bug #55913, Control-arrow key navigation does...

 
 

bug #55913: Control-arrow key navigation does not work in GUI Command Window on macOS

Submitter:  Andrew Janke <apjanke>
Submitted:  Wed 13 Mar 2019 10:05:15 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  3 - Low Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 27 Mar 2019 07:35:28 PM UTC, comment #2: 

Sorry; I've been busy with the day job. Soon!

Andrew Janke <apjanke>
Wed 27 Mar 2019 07:28:22 PM UTC, comment #1: 

@Andrew: You pointed out a possible strategy to add mappings to ExtendedDefaultTranslatorMac.h.  Do you have a patch for this?

Rik <rik5>
Group administrator
Wed 13 Mar 2019 10:05:15 PM UTC, original submission:  

In the terminal octave program and other contexts, control-left-arrow and control-right-arrow (or alt-left-arrow and alt-right-arrow) move backward and forward one word on the command line. But this isn't working in the Command Window.

Editing Octave commands without this is cumbersome.

Affects at least 4.4.1 through default (6.0.0 development).

Looks like https://savannah.gnu.org/bugs/?49703, but it's a different bug with different causes (the Command Window implementation is different on Mac/Linux and Windows), so I'm opening a separate bug for this.

It looks like this might be related to both:
a) Qt:ControlModifier and Qt::MetaModifier are swapped on macOS (https://doc.qt.io/qt-5/qt.html#KeyboardModifier-enum)
b) The default keyboard map for Mac in libgui/qterminal/libqterminal/unix/ExtendedDefaultTranslatorMac.h doesn't have mappings for Control-arrows

Andrew Janke <apjanke>

 

(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 apjanke (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-27 rik5 Priority5 - Normal 3 - Low
        Item GroupOther Feature Request

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code