bugGNU Octave - Bugs: bug #50538, Ctrl+A could be default keybinding...

 
 

bug #50538: Ctrl+A could be default keybinding for General > Edit > Select All

Submitter:  Felipe G. Nievinski <fgnievinski>
Submitted:  Tue 14 Mar 2017 12:47:52 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
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

Thu 16 Mar 2017 02:04:09 AM UTC, comment #6: 

@Torsten: unchecking the option "Disable global shortcuts when command window has focus" now allows me to use Ctrl+A to select all text in the command window, thanks.

Felipe G. Nievinski <fgnievinski>
Tue 14 Mar 2017 05:12:19 PM UTC, comment #5: 

Marking as Fixed and closing report.

@Torsten: Yes, Octave is doing the right thing.  I just wanted to make it clear that applying this patch is not enough.  The user then needs to clear the preference to have it work.

Rik <rik5>
Group administrator
Tue 14 Mar 2017 04:49:33 PM UTC, comment #4: 

Rik, thanks for the patch. It works for me.

Yes, existing shortcut configurations are not changed by new defaults or shortcuts. I think this is the expected (and desired) behavior, isn't it?


Torsten Lilge <ttl>
Group Member
Tue 14 Mar 2017 04:27:34 PM UTC, comment #3: 

I use the QKeySequence::SelectAll in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/9cb69973997d).

After building the dev branch I had to go in to the Preferences and set the shortcut to the default (which it now knows to be Ctrl+A).  Otherwise, on just an upgrade Octave believes that the user purposefully chose no shortcut for this menu option.

Marking as Ready for Test.

Rik <rik5>
Group administrator
Tue 14 Mar 2017 03:54:07 PM UTC, comment #2: 

I can think of no reason why Ctrl-A (or better QKeySequence::SelectAll) isn't the default for "select all".

@Felipe: Regarding the issue´with the Command Window, have you unchecked the option "Disable global shortcuts when command window has focus"? This option prevents interferences between gui and readline shortcuts.

Torsten Lilge <ttl>
Group Member
Tue 14 Mar 2017 03:49:29 PM UTC, comment #1: 

On the second point.  I don't believe any of the Qt binding take effect within the command window.  They are effective in the other parts of the application.

For example, I set "Ctrl+A" to be select all.  If I enter the Documentation Tab and do "Ctrl+A" it selects all the documentation.  Similarly, if I go the entry bar that holds the current directory and do "Ctrl+A" it selects everything.

Rik <rik5>
Group administrator
Tue 14 Mar 2017 12:47:52 AM UTC, original submission:  

Currently it's blank.

Also: after setting the keybinding, it works in the Editor but it doesn't work in the Command Window -- where mouse clicking Edit > Select All still works.

Felipe G. Nievinski <fgnievinski>

 

(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 ttl (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by fgnievinski (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
    2017-03-14 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2017-03-14 rik5 StatusNone Ready For Test
        Release4.2.1 dev
        Operating SystemMicrosoft Windows Any

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code