Use static IDs for controls needed by NVDA#850
Conversation
|
@vslavik I'm really grateful for your kind work, I'm pretty sure this will cover everything we need. |
@LeonarddeR Of course! |
|
I filed nvaccess/nvda#16889 and tested the build, it seems to work great up until now. |
OK, thanks for testing, I plan to merge it in time for 3.5 (Real Soon Now™). |
|
Thanks @vslavik. |
|
@LeonarddeR Well, I wanted it to be out for a while now, so... 🤷♂️ This month for sure. |
Related to vslavik/poedit#850 Summary of the issue: The Poedit appmodule relies on some complex calculation logic to announce several pieces of information with shortcuts, e.g. translator notes/comments/warnings.
This reorganizes Poedit's code to be able to a) assign static IDs safely and b) add more quickly if the need arrises.
See the relevant NVDA plugin's code here: https://github.com/nvaccess/nvda/blob/master/source/appModules/poedit.py
@LeonarddeR I'd appreciate your review if you could spare the time. Most of the changes are internal to Poedit and of little interest, the interesting bit is the
static_id.hfile:I think it covers it (
PRO_IDENTIFIERandMAIN_SPLITTER_IDENTIFIERseem to be needed just for the clever/hacky workaround for lack of static IDs), but I'm far from being 100% sure.