Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global plugin: report selected items in lists #1839

Open
nvaccessAuto opened this issue Oct 15, 2011 · 29 comments
Open

Global plugin: report selected items in lists #1839

nvaccessAuto opened this issue Oct 15, 2011 · 29 comments

Comments

@nvaccessAuto
Copy link

Reported by norrumar on 2011-10-15 15:02
I can not found a command in NVDA for reading selected elements in lists. Sometimes we need to delete or copy elements, and so I want to know what is selected.
This plugin has a script that reads selected elements, and its total number.

  • Keystroke: Shift+NVDA+l

Blocking #245

@nvaccessAuto
Copy link
Author

Attachment selectedElements.py added by norrumar on 2011-10-15 15:04
Description:
Reports selected elements in lists

@nvaccessAuto
Copy link
Author

Comment 1 by norrumar on 2011-10-15 17:59
I forgot documentation for the script. I have changed the word element for item. Excuse me for my English.
Changes:
Changed title from "Global plugin: report selected elements in lists" to "Global plugin: report selected items in lists"

@nvaccessAuto
Copy link
Author

Attachment selectedItems.py added by norrumar on 2011-10-16 11:30
Description:
Plugin ready to be translated: reports selected items in lists

@nvaccessAuto
Copy link
Author

Attachment selectedItems.exe added by norrumar on 2011-10-16 11:34
Description:
Plugin with spanish translation: it can be extracted to the user configuration folder

@nvaccessAuto
Copy link
Author

Comment 2 by norrumar on 2011-10-16 11:44
I have added a spanish translation for this global plugin, considering an example shown by Peter. I have create a locale\globalPlugins folder in the configuration user directory (%appdata%\nvda in installed versions). And there I have included the translation, into es\LCMESSAGES, source and compiled files (selectedItems.po and selectedItems.mo).

@nvaccessAuto
Copy link
Author

Comment 3 by Ahiiron on 2011-11-08 23:46
I did a quick change to the plug-in, more of a personal preference thing really, this new version says the number of selected items, then says the items.
For example: "3. bla.txt hello.rtf test.txt"
Get the modified plug-in here:
http://dl.dropbox.com/u/4425568/nvPlugs/selectedElements.py

@nvaccessAuto
Copy link
Author

Comment 4 by kevinchao89 on 2011-11-09 00:19
It's a small, personalized, but a very welcome and appreciated change. Thanks!

@nvaccessAuto
Copy link
Author

Comment 5 by norrumar on 2011-11-09 09:06
Hello! If you want, you can modify the global plugin contained in selectedItems.exe file, attached in #comment2. It is my las version for the plugin, and it contains code for localization. So your version could be translated into different languages too. Thanks.

@nvaccessAuto
Copy link
Author

Comment 6 by norrumar on 2012-07-11 12:31
Plugins for reading selected elements in lists have been updated:
http://www.wuala.com/programas%20para%20ciegos/Complementos%20para%20NVDA/add-ons/SelectedElements.nvda-addon/

Regards.

@nvaccessAuto
Copy link
Author

Comment 7 by blindbhavya on 2014-09-05 06:21
Hi.
I am not sure how this plug-in is related to my question.
But I think that I understood what extra this add-on does.
Why isn't this out as a reviewed community add-on yet?
Also, this could be merged into NVDA core.
Please clarify,

@nvaccessAuto
Copy link
Author

Comment 9 by norrumar (in reply to comment 7) on 2014-09-05 06:35
Replying to blindbhavya:

Hi.

I am not sure how this plug-in is related to my question.

But I think that I understood what extra this add-on does.

Why isn't this out as a reviewed community add-on yet?

Also, this could be merged into NVDA core.

Please clarify,

Hi, you asked me about tickets which I have opened and not fixed, or I have understood that. This one is an example.
About NVDA core, I can't decide. Imo perhaps we can use the same keystroke which reports selected text, but to avoid issues I used another one in the add-on.
If you are interested about this add-on, you can request its revision on add-ons mailing list, thought if it's include in the core the add-on wouldn't be necessary.
Anyway it's available long time ago at
http://nvda.it/system/files/plugin/selectedelements_0.nvda-addon?download=1
Thanks.

@nvaccessAuto
Copy link
Author

Comment 10 by vgjh2005 on 2014-09-12 01:29
Hi:
I also think so.

@nvaccessAuto
Copy link
Author

Comment 11 by jteh on 2014-12-02 03:31
@norrumar, would you be willing to integrate this into the core, perhaps as part of the existing report current selection command (NVDA+shift+upArrow)?

@nvaccessAuto
Copy link
Author

Comment 12 by norrumar (in reply to comment 11) on 2014-12-02 06:16
Replying to jteh:

@norrumar, would you be willing to integrate this into the core, perhaps as part of the existing report current selection command (NVDA+shift+upArrow)?

I have created a t1839 branch for this at
https://bitbucket.org/nvdaaddonteam/nvda

You can review it.
Thanks.

@bhavyashah
Copy link

@jcsteh Just a friendly reminder to review the branch shared by norrumar (I believe @nvdaes) in #1839 (comment).

@josephsl
Copy link
Collaborator

josephsl commented Aug 6, 2017 via email

@Adriani90
Copy link
Collaborator

@norrumar, @michaelDCurran, is this still valid? @norrumar can you raise a pull request to be included in NVDA's core? Since all the branches are moved to github it would be much easier to review and merge it on github rather than bitbucket. Thank you.

@Adriani90
Copy link
Collaborator

@nvdaes are you maybe updated on this branch?

@nvdaes
Copy link
Sponsor Contributor

nvdaes commented Nov 4, 2018

Hi, if this is stil valid, I can create a PR on GitHub reviewing the old plugin. Let's wait for @michaelDCurran answer since you asked him, and other feedback is welcome too.
Thanks for recalling this.

@bdorer
Copy link
Sponsor

bdorer commented Mar 19, 2019

I like this idea. possibly bound to NVDA+upArrow.

@ABuffEr
Copy link
Contributor

ABuffEr commented Mar 20, 2019

Hi,
interesting... I have already planned to insert this feature in ColumnsReview, but not developed yet (only for empty list, not published), and I know this issue and attached plugin just now...
Waiting for inclusion in core, I'll very happy if @nvdaes let me to include her code/feature in my add-on. :)

@nvdaes
Copy link
Sponsor Contributor

nvdaes commented Mar 20, 2019 via email

@ABuffEr
Copy link
Contributor

ABuffEr commented Mar 20, 2019

Oh, I will be honored, but this is very very old, I was learning a lot then, I had almost forgoten that plugin, I havent reviewed it, be careful (smile).

Oh, I read the useful parts, still valid, consider it already included with thanks ;)

@Adriani90
Copy link
Collaborator

I still think hearing what is selected in a list is very crucial in different use cases, and it enhances what NVDA does already. How does that global plugin work with lists which do not allow selections? I mean if they are read only for example?
@nvdaes, @ABuffEr are you going to move on with proposing a PR for this in the future?
what kind of lists are handled by that global plugin? Listviews like in Windows desktop, explorer etc? Or does it work for html or other lists in browsers as well?

@CyrilleB79
Copy link
Collaborator

@Adriani90, what do you call a read-only list? Have you an example.

There are disabled (greyed out) controls and a list can be one of them, e.g. the log categories in Advanced settings panel when you have not yet ticked the disclaimer checkbox. But when controls are disabled, they are not focusable anymore.

@ABuffEr
Copy link
Contributor

ABuffEr commented Mar 14, 2024

Hi @Adriani90,
ColumnsReview supports reporting of selection (number and names of selected items) in IAccessible.sysListView32.List (like Desktop or .Net programs), Windows Explorer and, at least the last time I tried, Outlook message list. These ones are based on various technologies (IAccessible, Shell32, UIA); there are generic implementations too, for non-specific or treeview cases, but are very slow. HTML lists are not handled, no idea for read-only.

@Adriani90
Copy link
Collaborator

Adriani90 commented Mar 14, 2024

what do you call a read-only list? Have you an example

@CyrilleB79 sorry I think readonly was the wrong term for what i mean, actually you can define with java script some kind of list box where elements cannot be selected, soo it contains non selectable items. I can imagine that such kind of lists are implemented in other scenarios like in QT or WPF interfaces.
actually looking at the list of settings categories in NVDA settings, in this list you cannot select items, you can only focus them. Or am I wrong?

@CyrilleB79
Copy link
Collaborator

@CyrilleB79 sorry I think readonly was the wrong term for what i mean, actually you can define with java script some kind of list box where elements cannot be selected, soo it contains non selectable items. I can imagine that such kind of lists are implemented in other scenarios like in QT or WPF interfaces.

If you have an example page with such a list, it would help a lot.

actually looking at the list of settings categories in NVDA settings, in this list you cannot select items, you can only focus them. Or am I wrong?

If we ignore the checkable property of its elements, which is still somehting else, I'd say that:
More specifically, in the log category list, only one item is selected at a time, and moving the focus moves the selection. On the contrary there are other types of list where you can select multiple items, i.e. 0, 1 or more items: you usually use shift+arrows to extend the selection to consecutive items or control+arrow to move the focus without modifying the selection and then space to toggle the selection of the focused item.

But I do not know what are lists where no element can be selected.

@nvdaes
Copy link
Sponsor Contributor

nvdaes commented Mar 15, 2024

@nvdaes, @ABuffEr are you going to move on with proposing a PR for this in the future?

I think that @ABuffEr has more knowledge about this, and the plugin developed by me is more than 12 years old, so from my part I'm not thinking about a PRfor this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants