Bug Hunting Session
Bug 123633 - Web view and hide whitespace causes view position to jitter until entire document is reformatted
Summary: Web view and hide whitespace causes view position to jitter until entire doc...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2019-02-21 16:51 UTC by matt
Modified: 2019-04-13 05:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen capture (5.49 MB, image/gif)
2019-02-21 16:51 UTC, matt
Details
Doc that causes jitter (17.19 KB, application/vnd.oasis.opendocument.text)
2019-02-21 21:05 UTC, matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2019-02-21 16:51:46 UTC
Created attachment 149493 [details]
Screen capture

Selecting "hide whitespace" or "view web" cause the view position to constantly jump until the entire document has been processed.  

This prevents viewing and editing the document until the reformatting process completes.  My screen grab shows a 95 page document that takes around 7 seconds before the view stabilizes.  Warning, trying this on a large document may result in seizure and/or death.

To reproduce
* Open a document of more than 50 pages
* Select "view | hide whitespace"
* Using the navigator, jump to a position near the end of the document
Comment 1 Dieter Praas 2019-02-21 20:44:41 UTC
I can't confirm this with a document of 93 pages and

Version: 6.1.5.2 (x64)
Build-ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group threaded
Comment 2 matt 2019-02-21 20:50:37 UTC
(In reply to Dieter Praas from comment #1)
> I can't confirm this with a document of 93 pages and
> 
> Version: 6.1.5.2 (x64)
> Build-ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
> CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
> Gebietsschema: de-DE (de_DE); Calc: group threaded

Running on windows 10.0.17763

Document has a large number of small tables in case that is causing the problem
Comment 3 matt 2019-02-21 21:05:27 UTC
Created attachment 149499 [details]
Doc that causes jitter

The attached file causes the problem on my PC
Comment 4 Dieter Praas 2019-02-21 21:13:03 UTC
(In reply to matt from comment #3)
> Created attachment 149499 [details]
> Doc that causes jitter
> 
> The attached file causes the problem on my PC

I also couldn't reproduce the bug with your document
Comment 5 matt 2019-02-22 23:37:19 UTC
The attached screen video clearly shows the bug.  If not, what more do you need? 
 I'm unclear why you've left this with a status of unconfirmed.  You have not requested additional information and didn't share what platform and hardware you used to reproduce the bug.  I'm unclear on how to move forward resolving this.

If you guys have more bugs than you can resolve, it would helpful if you'd share that with the community so we don't waste our and your time posting bugs you don't have bandwidth to resolve.
Comment 6 Dieter Praas 2019-02-24 14:34:38 UTC
(In reply to matt from comment #5)
> The attached screen video clearly shows the bug.

Yes I saw it
 
>  I'm unclear why you've left this with a status of unconfirmed.

The status is UNCONIRMED until anybody else than th bug reporter is able to reproduce the bug. As I wrote in comment 1, I'm not able to reproduce the bug.

> I'm unclear on how to move forward
> resolving this.

Perhaps somebody else can confirm it.


> If you guys have more bugs than you can resolve, it would helpful if you'd
> share that with the community so we don't waste our and your time posting
> bugs you don't have bandwidth to resolve.

Yes there are a lot of open bugs, and peolpe who want to help are welcome. I'm just e normal user and spent free time to help to improve LO.
Comment 7 Durgapriyanka 2019-02-28 21:45:39 UTC
Thank you for reporting the bug. I can reproduce this bug, but not all the time. 

1.) First time - I Select "hide whitespace" and use navigator to jump to the last position, there is no jump.

2.) Second time - I deselect "hide whitespace" and again select "hide whitespace" and use navigator to jump to the last position, there is no jump.

3.) Third time - Now again, I deselect "hide whitespace" and again select "hide whitespace" and use navigator to jump to the last position, here there is a jump.The view position jump until the entire document has been processed

So there is a jump every third time I repeat these steps.

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 8 Buovjaga 2019-04-07 12:47:14 UTC
It seems to be more noticeable with hide whitespace than web view. On Linux, I get the jitter on the first try with hide whitespace, but with web view I don't notice anything.

Hide whitespace is not an ancient feature, so we can't regression test with the oldest versions. With 3.3.0, 3.5.0 and 4.3.0 on Win 10, web view does not exhibit any strangeness.

An unfortunate thing is that the problem (with Hide whitespace) is not seen in the latest commit of win32-5.4 bibisect repo, but already seen in the oldest commit of win32-6.0.

The problem is seen in release build 5.4.2.

Let's add a bibisect request so someone else can try.

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: e967aea2d8cc4f9fc608cb726cb474c184fb61de
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 7 April 2019
Comment 9 raal 2019-04-13 05:01:19 UTC
I can not reproduce with Version: 6.3.0.0.alpha0+
Build ID: 31ac398cfa30694b18240d31df17a58d699b5bf6
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;