josephsl / wintenApps

Windows App Essentials NVDA add-on
GNU General Public License v2.0
24 stars 9 forks source link

Calculator: restructure Windows 10 and 11 app modules #64

Closed josephsl closed 2 years ago

josephsl commented 2 years ago

Hi,

Work in progress:

At the moment there are two Calculator modules, one for Windows 10 and another for Windows 11. So far the biggest difference is UIA tree - in Windows 11 (calculatorapp.exe), one must descend one more level when fetching results element. Combined with massive restructuring of UIA notification event handler, it makes sense to reorganize these app modules as follows:

The biggest benefit is that only the base Calculator app module (Windows 10) needs to be edited to support Windows 11 unless substantial features are added to Windows 11 version that makes the current approach unworkable (such as notification activity Id changes).

Thanks.

josephsl commented 2 years ago

Hi,

Closed as resolved from the add-on.