Skip to content

Fix the focus cell visibility issue with Freeze Rows And Columns#15638

Closed
GulsahKose wants to merge 1 commit into
CollaboraOnline:mainfrom
GulsahKose:freeze-focuscell
Closed

Fix the focus cell visibility issue with Freeze Rows And Columns#15638
GulsahKose wants to merge 1 commit into
CollaboraOnline:mainfrom
GulsahKose:freeze-focuscell

Conversation

@GulsahKose
Copy link
Copy Markdown
Contributor

FocusCellSection.onDraw drew the vertical column highlight and horizontal row highlight based on the raw cellCursorRectangle without accounting for split panes. When the cursor was scrolled "behind" the frozen area, the on-screen position computed by the documentObject translation landed inside the frozen pane region, so the highlight bars rendered over the frozen rows/columns.

We run the cursor rectangle through CellCursorSection.adjustSizePos - the same helper CellCursorSection and OtherViewCellCursorSection already use to clip the cursor at split boundaries.

Change-Id: I7fca5aba9293b7d7b1d4d6be91b06a0456bd68e5

  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

FocusCellSection.onDraw drew the vertical column highlight and horizontal
row highlight based on the raw cellCursorRectangle without accounting for
split panes. When the cursor was scrolled "behind" the frozen area, the
on-screen position computed by the documentObject translation landed inside
the frozen pane region, so the highlight bars rendered over the frozen
rows/columns.

We run the cursor rectangle through CellCursorSection.adjustSizePos -
the same helper CellCursorSection and OtherViewCellCursorSection already use
to clip the cursor at split boundaries.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I7fca5aba9293b7d7b1d4d6be91b06a0456bd68e5
@GulsahKose
Copy link
Copy Markdown
Contributor Author

Moved to gerrit

@GulsahKose GulsahKose closed this May 5, 2026
@github-project-automation github-project-automation Bot moved this from To Review to Done in Collabora Online May 5, 2026
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.

1 participant