Hello everyone!
I'm still working on my accessibility cppunit tests framework.
Right now I'm trying to submit a set of changes to be able to have tests
interact with dialogs [1]. It was actually slightly easier than I
anticipated to get that working on my local linux/gcc build -- although
I does require some non-trivial trickery [2]. I had to tweak it a bit
for the clang_dbgutil job on Jenkins, because apparently there I can't
throw from a event handler -- but easily enough after some fiddling [3]
I was able to delay the final throwing to a user call, actually making
the API a bit nicer in the process. So Linux is happy, yay!
Unfortunately, I'm not getting so lucky on Windows and MacOS, and my
debug fiddling [4] don't seem to get me anywhere, so I'm asking for some
help if anybody has anything to contribute :) What I see is that:
- On MacOS, I don't get any WindowActivate events on the dialogs (and
focus seems (?) not to be there)
- On Windows, I can't seem to close some (?) dialogs, no matter how hard
I try.
This is funnily kind of opposite issues, but irony aside that doesn't
really help me :) You can see a bit more in the Jenkins runs for each.
Thanks for reading through, and in advance for any help!
Colomban
[1] https://gerrit.libreoffice.org/c/core/+/142258 (and rest of the
relation chain)
[2] see test::AccessibleTestBase::awaitDialog() in the above
[3] see PS history on the above
[4] https://gerrit.libreoffice.org/c/core/+/142494