Don't attempt to format a tuple with "%s"#11050
Don't attempt to format a tuple with "%s"#11050feerrenrut merged 1 commit intonvaccess:betafrom agashlin:master
Conversation
|
Hi, can you verify that this works in IE11, as IE8 is too old at this time? Thanks.
|
See test results for failed build of commit c35370856f |
Yes, I confirmed that this issue is also present in IE11, and this fixes it.
I'll fix this and try running a local flake8. |
See test results for failed build of commit 9b3f4a82d7 |
|
I suspect this system test failure is unrelated to my change, as that test uses Chrome and this only touches MSHTML. Is it possible to re-run the system test? |
|
Hi, I think a better solution is reverting system tests commit, which will require everyone to rebase their PR’s afterwards. Thanks.
|
@agashlin Yes we are getting intermittent failures that I haven't identified. I have restarted the build for you.
Rather than revert, I think we should just disable until we have time to look at what is causing the failure. I'll look at this today. |
feerrenrut
left a comment
There was a problem hiding this comment.
Thanks for the investigation and fix @agashlin
Another approach might be to use an f-string eg: f"position: {position}"
|
Since this is a small, low risk change, I think it should go into the next release which is currently stalling anyway. I'll change the target to |
|
But the PR will need to be rebased onto beta. I'm happy to do that. |
This fixes #10736, errors in mousemove events over some MSHTML elements (such as buttons).
This fixes #10736, errors in mousemove events over some MSHTML elements
(such as buttons).
Link to issue number:
fixes #10736
Summary of the issue:
mouse move over buttons doesn't read the button text in Internet Explorer 8 MSHTML, fails with a logged TypeError exception.
Description of how this pull request fixes the issue:
In order to keep the
%operator from trying to format each element of the Point namedtuple, wrap the position in a one element tuple. This way the right exception gets thrown and caught. I went into more detail in #10736 (comment)Testing performed:
I confirmed that this allowed the button to be read in the embedded MSHTML instance in the Firefox stub installer. Build 1 here can be used to demonstrate the issue, though it has other problems: the Re-install button does not read out when moused over unless this fix is made.
Known issues with pull request:
There are possibly other similar issues, but I didn't go looking for them.
Change log entry:
Bug fixes
Fix mouse tracking for some MSHTML elements