ONLYOFFICE / ONLYOFFICE/DocumentServer

Clicking on the headings in the left panel does not always bring the cursor to the first visible line of the page

Open
#2,139 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

confirmed-bug
Dominant language
Shell
Stars
6.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

This issue is unique.
  • I have used the search tool and did not find an issue describing my bug.
Operating System

Linux (DEB package)

Version information

7.3

Expected Behavior

Hi! I want to point out a minor bug, but quite important from the point of view of workflow.

When I click on the headings, in the left panel, whether a page break is set or not, the heading should be displayed on the first visible line of the page.

i.e:

[Cursor here] Heading




--

Actual Behavior

However, many times (almost randomly), when I click on the headings, in the left panel, whether a page break is set or not, the heading is displayed on the last visible line of the page instead of the first visible line of the page.

i.e:





--
[Cursor here] Heading

Reproduction Steps
  1. Write some text.
  2. Set some text as header (level 1, level 2, level 3, etc.)
  3. Click on these headings on the left panel.
Additional information

My screen resolution is 1920x1080p. :)
This bug is present on previous versions. Tested also on 7.2.1 and 6.4.2 via appimage.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the Linux DEB package using version 7.3, following the three listed steps and checking heading levels with and without page breaks. Compare the heading-panel navigation with the expected first-visible-line behavior; done means clicking headings consistently places the cursor on that line.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.