Skip to content

displayModel, compensate for left coordinates greater than right#10368

Merged
michaelDCurran merged 2 commits into
nvaccess:masterfrom
BabbageCom:leftRightConflict
Oct 22, 2019
Merged

displayModel, compensate for left coordinates greater than right#10368
michaelDCurran merged 2 commits into
nvaccess:masterfrom
BabbageCom:leftRightConflict

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

Split from #9269
fixes #9931

Summary of the issue:

In the display model, sometimes the left coordinate is greater than the right coordinate. This causes issues when translating in poedit.

Description of how this pull request fixes the issue:

When left is greater than right, swap the coordinates.

Testing performed:

Tested the str from #9931

Known issues with pull request:

This could be considered a work around. It could be that something is wrong in the C++ part of the display model code.

Change log entry:

@LeonarddeR LeonarddeR added the BabbageWork Pull requests filed on behalf of Babbage B.V. label Oct 10, 2019
@michaelDCurran michaelDCurran merged commit ee8a150 into nvaccess:master Oct 22, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Oct 22, 2019
michaelDCurran added a commit that referenced this pull request Oct 22, 2019
@LeonarddeR LeonarddeR deleted the leftRightConflict branch November 21, 2019 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BabbageWork Pull requests filed on behalf of Babbage B.V.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python 2 and Python 3: in poedit, when reading mixture of the english and devanagari text in listview, not allowed screen coordinates are present

4 participants