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

 
 

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

Submitted by:  Felipe G. Nievinski <fgnievinski>
Submitted on:  Tue 14 Mar 2017 12:47:52 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission 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>
Project 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 <ttl>
Project 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>
Project 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 <ttl>
Project 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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by fgnievinski (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Mar 2017 05:12:19 PM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 14 Mar 2017 04:27:34 PM UTCrik5StatusNone=>Ready For Test
      Release4.2.1=>dev
      Operating SystemMicrosoft Windows=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1