Add default keyboard mappings for flattened object nav scripts#15065
Conversation
|
Hi, This set of keymaps has been used in the NVDA Chinese community for a long time. |
|
I personally prefer to avoid adding pageUp/pageDown on laptop because many laptops don't have these keys. |
|
There is also one drawback. Page up and down are mapped on some laptops to fn+arrows.
That means, that it can be uncomfprtable for \users
From: Leonard de Ruijter ***@***.***>
Sent: Wednesday, June 28, 2023 9:49 AM
To: nvaccess/nvda ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [nvaccess/nvda] Add default keyboard mappings for flattened object nav scripts (PR #15065)
I personally prefer to avoid adding pageUp/pageDown on laptop because many laptops don't have these keys.
—
Reply to this email directly, view it on GitHub <#15065 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE2BSWYGEV4HADOLFXDXNPOWFANCNFSM6AAAAAAZWTUVUE> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/ACVCDEZKIX5PHTCJ3MDBW7LXNPOWFA5CNFSM6AAAAAAZWTUVUGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTAATT4A.gif> Message ID: ***@***.*** ***@***.***> >
|
See test results for failed build of commit 50daecbd68 |
|
I wonder whether we shouldn't yet go for the brackets for laptop instead. They are only one row above the current keys and might be a bit more obvious, i.e. clearly pointing left and right) and we don't have to do the accute/cedilla trick. |
Do you mean curly brackets ({}) which are shift+[ and shift+]? In Finnish key layout, key which writes } (shift+]) in US key layout, is somekind of key combination which is used to write special letters like û, ê and î. Letters are written so that first "}" key combination is pressed and then usual letter, for example "}" key u gives û. I'm not localizing Finnish version but I would like to know if this would be a problem if these keys would be tried to be added to localized gesture map. These keys should be unassigned currently in Finnish version. Different keys seem to be assigned according to key layout of the language. For example keys producing ; and ' in US layout are with NVDA key assigned to mouse clicks in Finnish localization, and mouse clicks when NVDA language is English are (with NVDA key) keys producing [ and ] in US key layout. |
We can see in the various Regarding dead key (i.e. key that do not type a character but change the next one), in French we have "^" located just at the right of "P" key, i.e. where "[" appears on US layout; this dead key is used followed by another vowel to type "â", "ê", "î", etc. I can see that it has not been used to localize for left click. @MichelSuch is there any reason why? Of course, the best way to know if dead keys can be used is to test. |
|
@burmancomp I meant the left and right brackets, i.e. [ and ]. |
Do I missunderstand something but are not [ and ] assigned to mouse clicks when nvda language is English? |
Yes, but not with shift added to the gesture 😉 |
And it means that we are speaking about curly brackets ({}) because they are produced from square brackets ([]) in uS layout andding shift. |
Actually, when talking about key combination gestures in NVDA, we indicate the main character and the modifiers. So we usually do not write 'Type "{"', but 'Type "shift+["'. This goes for the User's Guide as well as for the code. It doesn't matter which character is ultimately produced. |
Qchristensen
left a comment
There was a problem hiding this comment.
The text looks good, but two comments:
In "Section 5.6 Review Modes", it mentions "Review modes are a replacement for the older Flat Review concept found in NVDA.". Given we are now introducing a "new" flat review and also as it has been 10 years (2013.2) since the original flat review was removed, could we also remove that sentence in this PR?
And in Section 5.4 Object Navigation (before the keystrokes) we have a paragraph which goes through the concept of the hierarchy of objects (beginning with "Rather than having to move back and forth through....") - is it worth a sentence at the end of that paragraph noting the new commands which essentially ignore it?
|
@Qchristensen thanks for the valuable comments. I removed the said line and also added another paragraph about flat view object nav. Any suggestions to make this clearer are greatly appreciated. |
Qchristensen
left a comment
There was a problem hiding this comment.
Thanks Leonard, great work!
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
See test results for failed build of commit d91ae179f4 |
…commands for all keyboard layouts (#15191) Closes #15185 Follow-up of #15065. Summary of the issue: New gestures to move in flattened object hierarchy have been added in #15065: nvda+numpad3/9 for desktop layout and shift+NVDA+[ / ] for laptop layout. Although mainly used with desktop layout, object nav-related gestures associated to numpad are usually bound to all keyboard layout (desktop and laptop). This allows for example users to have NVDA to be configured with laptop layout for a laptop computer without numpad on its keyboard, but to use the numpad gestures in case an external keyboard with numpad is plugged in. Description of user facing changes The gestures NVDA+numpad3/9 for the new flattened object navigation commands will now be available both in laptop and in desktop mode. As done for other obj nav gestures, the user guide (and the change log) still advertises numpad gestures for desktop layout only. Description of development approach Changed the gesture definition.
Fix-up of #15065 Summary of the issue: Various issues found in documentation while reviewing translation: Flattened review: For example, if you move to the next object in this flattened view and the current object contains other objects, NVDA will automatically move to the first object that contains it. Should be "that it contains", not "that contains it"! Cc @LeonarddeR for approval Excel UIA option not at the correct place in the documentation with respect to its position in the GUI's Advanced settings panel. Searching for add-ons -Type a keyword or two for the kind of add-on you're looking for, then tab back to the list of add-ons. Actually, we tab forward, not back. Add-on Store spelling: Let's take care to use an unique writing so that people get immediately used: So "Add-on Store", not "Add-ons Store". Key name formatting: Key name formatting should always be used for single keys, not for a whole list of keys including separators or parenthesis that do not belong to the name of a key as done for some braille keys.
Link to issue number:
Fixes #15053
Summary of the issue:
Object navigation can be difficult to grasp for some people. It is helpful to assign the flattened object nav gestures (that are now only available on touch screen)by default.
Description of user facing changes
See change log items
Description of development approach
Added gestures to scripts in
globalCommands.Testing strategy:
Test desktop and laptop assignments.
Known issues with pull request:
Translators must be made aware of these new assignments, since they might need a special localized mapping for other keyboard layouts.
Change log entries:
Changes
Add the following additional gesture mappings:
Code Review Checklist: