Skip to content

Conversation

@drgrice1
Copy link
Member

There was an indexing error in the logic of the tab focus handler of the selection tool that results in the last defining point of an object that has three or more defining points not working correctly.

To see the issue, graph any object and then graph a quadratic or cubic after that. Immediately after completing the graph of the quadratic or cubic hit shift-tab. With the code in the release candidate branch the focus will jump back to the last point on first object that was graphed. With this pull request the focus will go to the next to last point on the quadratic or cubic as it should.

You can use the attached problem to test this.
Demo.pg.txt

There was an indexing error in the logic of the tab focus handler of the selection tool that results in the last defining point of an object that has three or more defining points not working correctly.

To see the issue, graph any object and then graph a quadratic or cubic after that.  Immediately after completing the graph of the quadratic or cubic hit shift-tab.  With the code in the release candidate branch the focus will jump back to the last point on first object that was graphed.  With this pull request the focus will go to the next to last point on the quadratic or cubic as it should.
@pstaabp pstaabp merged commit 8841ba1 into openwebwork:PG-2.17 May 13, 2022
@drgrice1 drgrice1 deleted the bugfix/graphtool-focus-order branch May 20, 2022 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants