Bug 117314 - UI: Viewport jumps to far when one edits a line end that is not in the current view
Summary: UI: Viewport jumps to far when one edits a line end that is not in the curren...
Status: CLOSED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.0.4.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-28 12:04 UTC by Micha
Modified: 2018-06-07 21:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot after viewport jump (103.87 KB, image/png)
2018-04-28 12:06 UTC, Micha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Micha 2018-04-28 12:04:56 UTC
Description:
Jumping to the end of a line where the line-end is not on the current viewport (e.g. due to the zoom-level) makes the viewport jump so that the cursor is at the left side.
This means that the content of the current line is then completely out of sight. Only the blinking cursor can be seen from the current line.

Steps to Reproduce:
* Create new presentation
* Fill a line almost completely (title or content)
* Increase zoom-level, so that the line end is out of sight
* Select line and press End-Key or Ctrl+A & Left-Key

Actual Results:  
UI viewport jumps so far that content is out of sight

Expected Results:
UI viewport should jump only so far that the content is still in sight


Reproducible: Always


User Profile Reset: No



Additional Info:
The attached screenshot shows the UI with the cursor marked in red.

Version: 6.0.4.1
Build ID: a63363f6506b8bdc5222481ce79ef33b2d13c741
CPU threads: 2; OS: Linux 4.9; UI render: default; VCL: gtk2; 
Locale: de-DE (en_US.UTF-8); Calc: group



User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Micha 2018-04-28 12:06:09 UTC
Created attachment 141737 [details]
Screenshot after viewport jump
Comment 2 Buovjaga 2018-06-07 14:14:01 UTC
I can reproduce wtih 6.0.4, but not with master. Let's close.

Arch Linux 64-bit
Version: 6.0.4.2
Build ID: 6.0.4-1
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 8e156f009e29a90883c2536943f338be163dad45
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 7th 2018
Comment 3 Micha 2018-06-07 21:35:02 UTC
Hello Buovjaga,
Indeed, it works as expected on a recent master.
I'm marking it as closed.
Regards, Micha

Version: 6.2.0.0.alpha0+
Build ID: b292a27698e85fd9d60c03613c3b0c67835c4dc1
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-06-07_02:03:56