Skip to content

Commit

Permalink
Updated to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hwf1324 committed Jan 6, 2025
1 parent 8db11c9 commit 3e60cf5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
9 changes: 6 additions & 3 deletions buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ def _(arg):
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description": _("""This add-on provides enhancement to mouse functionality in NVDA.
For example, fixed mouse tracking in Electron app (2024.4 only).
Electron apps, such as VS Code."""),
For example:
Fixed mouse tracking in Electron app (2024.4 only).
Electron apps, such as VS Code.
Experimental fix for mouse tracking in WinUI apps.
WinUI applications: e.g. Windows Terminal, PowerToys v0.86.0 and higher, some applications that come with Windows, etc."""),
# version
"addon_version": "0.3.0",
"addon_version": "0.4.0",
# Author(s)
"addon_author": "hwf1324 <[email protected]>",
# URL for the add-on documentation support
Expand Down
6 changes: 3 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Change the add-on name to: Mouse Enhancement. (Doesn't take into account add-on upgrades.)
* Ignore the error when entering the security screen because the object does not have the windowClassName attribute.
* Mouse tracking can report the description of the option in the Git for Windows installer. (Individual options cannot be viewed individually.)
* Experimental: Fix mouse tracking in WinUI apps by making `obj.appModule.isGoodUIAWindow` always return `True` when an object with a specific `windowClassName` property is encountered.
* Windows Terminal: If the text unit is a paragraph, moving the mouse in the Terminal control restricts the text unit to lines.
* Electron: cleaned up some unnecessary judgment logic.
* Update add-on template.
12 changes: 11 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,21 @@ Some features may be moved out as standalone features in the future.

* Fix mouse tracking in [Electron](https://www.electronjs.org/) apps (2024.4 only).
* Electron apps, such as [VS Code](https://code.visualstudio.com/).
* Experimental fix mouse tracking in [WinUI](https://github.com/microsoft/microsoft-ui-xaml) apps.
* [Windows Terminal](https://github.com/microsoft/terminal): If the text unit is a paragraph, moving the mouse in the Terminal control restricts the text unit to lines.
* Fix a part of the NVIDIA Control Panel where the content of the static text description control is incorrect.
* Fixed the problem that some buttons in [PDFgear](https://www.pdfgear.com/) could not get the description text.
* Mouse tracking can report the description of the option in the [Git for Windows](https://git-scm.com/downloads/win) installer. (Individual options cannot be viewed individually.)

## Changelog

### 0.4.0

* Experimental: Fix mouse tracking in WinUI apps by making `obj.appModule.isGoodUIAWindow` always return `True` when an object with a specific `windowClassName` property is encountered.
* Windows Terminal: If the text unit is a paragraph, moving the mouse in the Terminal control restricts the text unit to lines.
* Electron: cleaned up some unnecessary judgment logic.
* Update add-on template.

### 0.3.0

* Change the add-on name to: Mouse Enhancement. (Doesn't take into account add-on upgrades.)
Expand All @@ -34,4 +43,5 @@ Some features may be moved out as standalone features in the future.

## Acknowledgements

Thanks to @jcsteh for his guidance in fixing mouse tracking in the Electron app.
Thanks to @jcsteh in https://github.com/nvaccess/nvda/issues/17108 for his guidance in fixing mouse tracking in the Electron app.
Thanks to @codeofdusk in https://github.com/nvaccess/nvda/issues/17407#issuecomment-2544712156 for the way to experimentally fix mouse tracking in WinUI apps.

0 comments on commit 3e60cf5

Please sign in to comment.