Bug 90932

Summary: Double-clicking an element in the navigator should scroll document so that the element is at the top of the view
Product: LibreOffice Reporter: Neutrino <neutrino_sunset>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: enhancement CC: ilmari.lauhakangas, thomas.lendo
Priority: medium    
Version: 4.4.2.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103030    

Description Neutrino 2015-04-29 14:52:36 UTC
Double clicking a document element (Heading1, Heading2 etc) in the Navigator scolls the document to that location. However the part of the document being navigated to is not displayed at the top of the application window but at the bottom, so as soon as you navigate to it you have to scroll the document up in order to read the element you've just navigated to.

Steps to Reproduce:

1. Open a document that has at least several pages of content, with several headings that can be navigated to.

2. Open the Navigator and select an entry midway through the document.

3. The document should scroll so that the selected element is displayed at the top of the document viewport, instead it is displayed in the bottom quarter of the viewport.
Comment 1 Buovjaga 2015-04-29 18:17:42 UTC
Reproduced, but I feel this fits the enhancement category better.

Win 7 Pro 64-bit Version: 5.0.0.0.alpha1+ (x64)
Build ID: f0edb677f09ad338e22ac3b5d91497b4479e0b3c
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-27_01:54:20
Locale: fi_FI
Comment 2 Thomas Lendo 2018-10-04 11:04:21 UTC
Closing as RESOLVED WORKSFORME.

All node items I double-click are on top (e.g. headings, bookmarks, indexes) or relatively centered (e.g. images). Sometimes if an image is at the bottom of the page, the page is shown without page break and so the image is not at the top or in the center of the canvas view. But I don't see the 'bottom' issue.

Feel free to reopen as NEW if it still happens for you and please attach an example document with detailed steps to reproduce.


Tested with Version: 6.2.0.0.alpha0+ (x64)
Build ID: 89a60912bba7ffd6f65ea99f4664f343c5025c95
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-01_03:18:33
Locale: de-AT (de_AT); Calc: CL

And Version: 6.0.6.2 (x64)
Build-ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
CPU-Threads: 8; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-AT (de_AT); Calc: group