Bug 106496 - The document in Writer is jumping left and right in optimal view and mirrored pages format
Summary: The document in Writer is jumping left and right in optimal view and mirrored...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.6.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-11 17:21 UTC by kivi
Modified: 2017-10-30 10:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Video showing the problem (8.22 MB, video/webm)
2017-03-16 20:01 UTC, Buovjaga
Details
Demo template for mirror margins (9.87 KB, application/vnd.oasis.opendocument.text-template)
2017-03-21 09:08 UTC, kivi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kivi 2017-03-11 17:21:49 UTC
I am using some technical documents where pages are formatted as mirrored.
Also in order to make possible to read more than one document while creating my document I need to keep the LibreOffice window small in order to see both documents together.
In this case I use the View → Zoom → Optimal View.

Unfortunately in such case the document is jumping left and right in the Writer window, depend of the paragraphs I am working with.

Also by scrolling the multi page documents right pages are visualized normally but the left pages are visualized wrongly - some part of the text on the left part of the pages is not visible.

This can be changed manually but after every right page the left page is presented the same wrong way.
This way working with LibreOffice Writer with such documents soon becomes very boring and very uncomfortable.

This bug is available in most past versions of LibreOffice including the current 5.2.6

Please possibly correct this behaviour because working with such documents is very difficult with LibreOffice Writer.

I have created a screen cast movie showing this behaviour but it is 29.2 MiB hence it is not possible to attach it here.
Comment 1 Buovjaga 2017-03-15 11:45:48 UTC
(In reply to kivi from comment #0)
> I have created a screen cast movie showing this behaviour but it is 29.2 MiB
> hence it is not possible to attach it here.

Please upload it to http://wikisend.com/ and I can compress it so it fits the 10 MB limit.
Comment 2 kivi 2017-03-16 15:59:07 UTC
I have uploaded the screencast movie.
This is the download link:
http://wikisend.com/download/752792/LO-Writer_jumping_left-right_in_optimal_view_mode-20170311.ogv
Comment 3 Buovjaga 2017-03-16 20:01:07 UTC
Created attachment 131947 [details]
Video showing the problem

I re-compressed it, commands below. Unfortunately the video is no longer skippable.. one has to view it in one go.

ffmpeg -i LO-Writer_jumping_left-right_in_optimal_view_mode-20170311.ogv -c:v libvpx-vp9 -pass 1 -b:v 500K -threads 1 -speed 4 -tile-columns 0 -frame-parallel 0 -g 9999 -aq-mode 0 -an -f webm /dev/null

ffmpeg -i LO-Writer_jumping_left-right_in_optimal_view_mode-20170311.ogv -c:v libvpx-vp9 -pass 2 -b:v 500K -threads 1 -speed 0 -tile-columns 0 -frame-parallel 0 -auto-alt-ref 1 -lag-in-frames 25 -g 9999 -aq-mode 0 -c:a libopus -b:a 64k -f webm LO-Writer_jumping_left-right_in_optimal_view_mode-20170311.webm

Method taken from http://wiki.webmproject.org/ffmpeg/vp9-encoding-guide Best Quality (Slowest) Recommended Settings
Comment 4 Buovjaga 2017-03-19 17:41:25 UTC
No problem here.

After inserting dummy content, I did
1. Format - Page - Page - Page layout: Mirrored
2. View - Zoom - Optimal View

I even set the zoom % the same as you, 136.

I tried scrolling with the mouse scrollwheel, keyboard and scrollbars.

It seems you are using KDE like me. I don't know, what could be different on your system.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.3
Build ID: 5.3.0-2
CPU Threads: 8; OS Version: Linux 4.9; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 5 kivi 2017-03-21 09:08:28 UTC
Created attachment 132041 [details]
Demo template for mirror margins

This is a demo template to use for checking the jumping left and right
Comment 6 kivi 2017-03-21 09:13:39 UTC
I am using openSUSE Leap 42.2 KDE with LibreOffice downloaded from The Document Foundation.

This jumping is visible mostly in Optimal View.

I think some thing wrong happens with the paragraph styles because for some paragraphs it behaves normally but for other is jumping.
For the video, I especially used some document where it happens frequently, but I found that some documents behave better in same conditions.

Also as I see LibreOffice does not obey correctly the mirror margins. It starts correctly with the right page where the left margin is bigger and all next pages get positioned as it. Because of this some part from the left pages where right margin is bigger get invisible as is wrongly is positioned as the pages with bigger left margin.
My opinion is that for mirror margins it need to behave differently - need always to position the part of the document between the margins, always to fit in the visible part of the LibreOffice working window.

I have prepared some demo template for Writer.

Please use it and paste in it some document with tables and different paragraphs. Then please zoom the document in Optimal View. Probably then you can see what I see here.
Comment 7 Xisco Faulí 2017-03-21 10:28:44 UTC
I can't reproduce it in

Version: 5.4.0.0.alpha0+
Build ID: 4ba483beccc99d336d0e0bec47b5fd6823b16c16
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 8 kivi 2017-03-22 09:36:40 UTC
I will try to prepare some demo document and upload it next weekend.
Hopefully it may help us to understood what happens in this case.
Comment 9 QA Administrators 2017-09-29 08:57:52 UTC Comment hidden (obsolete)
Comment 10 Xisco Faulí 2017-10-30 10:51:29 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20171030