Skip to content

browser: drop redundant scroll from Comment.highlight() for Draw/Impress#15732

Merged
eszkadev merged 2 commits intodistro/collabora/co-25.04from
private/mohitm/backport-cypress-fixes
May 8, 2026
Merged

browser: drop redundant scroll from Comment.highlight() for Draw/Impress#15732
eszkadev merged 2 commits intodistro/collabora/co-25.04from
private/mohitm/backport-cypress-fixes

Conversation

@mohit-marathe
Copy link
Copy Markdown
Contributor

  • 0adef6d fixes draw/annotation_spec.js flakiness

CommentListSection.scrollCommentIntoView, called from
navigateAndFocusComment, scrolls to the root comment's anchor.
this.position is the marker rectangle of whichever comment in the thread
highlightComment iterates over - for a reply on PDF it's hundreds of twips
below the anchor, so scrolling to it pushes the anchor out of view.

Signed-off-by: Mohit Marathe <mohit.marathe@collabora.com>
Change-Id: I80352d6231ca422b2f6767f7868f867b8a0a2116
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2019
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Under heavy CI load, the default 10s retry window expires before
the unocommandresult of .uno:ReportWhenIdle arrives, causing
intermittent failures.

Change-Id: Icf9c1a6b2dc181e2a689c537f1f9085917465b16
Signed-off-by: Mohit Marathe <mohit.marathe@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2067
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
@github-project-automation github-project-automation Bot moved this from To Review to To Test in Collabora Online May 8, 2026
@eszkadev eszkadev merged commit 70465ee into distro/collabora/co-25.04 May 8, 2026
13 of 14 checks passed
@eszkadev eszkadev deleted the private/mohitm/backport-cypress-fixes branch May 8, 2026 04:28
@github-project-automation github-project-automation Bot moved this from To Test to Done in Collabora Online May 8, 2026
@eszkadev
Copy link
Copy Markdown
Contributor

eszkadev commented May 8, 2026

@mohit-marathe please port to gerrit

@mohit-marathe
Copy link
Copy Markdown
Contributor Author

@mohit-marathe please port to gerrit

@eszkadev it was first merged in gerrit: https://gerrit.collaboraoffice.com/c/online/+/2019.
i forgot to mention that in the PR description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants