Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix position instability around highlighted annotation #824

Merged
merged 3 commits into from
Sep 30, 2014

Conversation

peitschie
Copy link
Contributor

Depends on PR #783

By checking only nodes that pass the supplied node filter, the position logic can safely ignore out-of-place cursors near highlighted annotations.

@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2254/

@peitschie
Copy link
Contributor Author

This patch has survived a weekend of fuzzing with a definite reduction in crashes (4.4% failure rate in the first 2000 actions vs. > 20%).

@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2267/

@peitschie peitschie force-pushed the position-stability branch 2 times, most recently from c26f35b to 2092031 Compare September 24, 2014 00:01
@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2268/

@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2269/

@adityab adityab self-assigned this Sep 24, 2014
@adityab
Copy link
Member

adityab commented Sep 29, 2014

Looks fine, please rebase and 🚢

By checking only nodes that pass the supplied node filter, the position
logic can safely ignore out-of-place cursors near highlighted annotations.

Note, this can't re-use PositionIterator.previousNode, because the logic
requires the previous sibling of the current container's previous sibling.
@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2278/

@peitschie
Copy link
Contributor Author

Thanks for reviewing @adityab 😃

peitschie added a commit that referenced this pull request Sep 30, 2014
Fix position instability around highlighted annotation
@peitschie peitschie merged commit 556e58e into webodf:master Sep 30, 2014
@peitschie peitschie deleted the position-stability branch September 30, 2014 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants