https://bugs.documentfoundation.org/show_bug.cgi?id=160496
Bug ID: 160496 Summary: Viewport jumps after moving cursor to different style Product: LibreOffice Version: 7.6.5.2 release Hardware: x86-64 (AMD64) OS: Linux (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: t...@faehnle.net Created attachment 193451 --> https://bugs.documentfoundation.org/attachment.cgi?id=193451&action=edit Demo document to trigger "jumping viewport" Version: 7.6.5.2 (X86_64) / LibreOffice Community Build ID: 38d5f62f85355c192ef5f1dd47c5c0c0c6d6598b CPU threads: 16; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: en-US Calc: threaded Hi there, this is a funny one: Cursor movement to a different paragraph or character style seems to trigger a viewport alignment to the closest page break iff the zoom level is set to "entire page". To reproduce: * Load attached document * Set View->Zoom->Entire page * Put the cursor on the line that reads "put cursor here" * Scroll down half a page using the mouse wheel. The gap between first and second document page should be in the middle of the screen. * Move the cursor up and down a few lines, using the arrow keys. Do it slowly, say one keystroke per sec. DON'T leave the visible region with the cursor Observation: When you reach the first "preformatted text" paragraph, the viewport scrolls up so that page 1 is visible in full. This happens with a few tenths of a second delay. Expectation: The viewport should stay where it is. As long as the cursor stays within the visible region, there's no reason for unsolicited viewport movement. According to my observations, the exact styles involved don't matter. It also doesn't seem to matter, how the cursor movement is accomplished: I can trigger this with arrow keys, by mouse clicking, or as a side effect of advancing by pages -- I discovered this bug while experimenting with the different next page/previous page UNO functions. Needless to say that this bug will drive you crazy if you're editing in the vicinity of a page break and happen to touch different para/char styles with the cursor. Cheers, Tyler -- You are receiving this mail because: You are the assignee for the bug.