Skip to content

Commit

Permalink
Fixed the problem that some buttons in PDFgear could not get the desc…
Browse files Browse the repository at this point in the history
…ription text.
  • Loading branch information
hwf1324 committed Sep 12, 2024
1 parent d2bbab1 commit a6249d5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions addon/appModules/pdflauncher.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# mouseEnhancements add-on for NVDA
# This file is covered by the GNU General Public License.
# See the file COPYING.txt for more details.
# Copyright (C) 2024 hwf1324 <[email protected]>

"""PDFgear appModule.
"""

import appModuleHandler
import controlTypes
from NVDAObjects import NVDAObject


class AppModule(appModuleHandler.AppModule):
def event_NVDAObject_init(self, obj: NVDAObject):
if controlTypes.Role.BUTTON == obj.role and not obj.name:
obj.name = obj.lastChild.name
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Mouse Enhancements

This is a collection of enhancements for mouse usage in NVDA.
Some features may be moved out as standalone features in the future.

* Author: hwf1324 <[email protected]>
* Compatibility: NVDA-2024.4 or later
Expand All @@ -10,6 +11,7 @@ This is a collection of enhancements for mouse usage in NVDA.
* Fix mouse tracking in [Electron](https://www.electronjs.org/) apps.
* Electron apps, such as [VS Code](https://code.visualstudio.com/).
* 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.

## Usage

Expand All @@ -24,6 +26,7 @@ None.
## 0.2.0

* 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 could not get the description text.

### 0.1.0

Expand Down

0 comments on commit a6249d5

Please sign in to comment.