Bug 57233 - VIEWING: Web view, complex multi-column document generates page cutoffs.
Summary: VIEWING: Web view, complex multi-column document generates page cutoffs.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 19:21 UTC by Doug
Modified: 2015-07-17 02:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
WARNING: This document freezes my OpenSuse 12.2 i586 machine. Ok on x86_64, but produces artifacts listed above. (10.04 KB, application/vnd.oasis.opendocument.text)
2012-11-17 19:21 UTC, Doug
Details
backtrace of freeze on OpenSuse 12.2 i586 machine from opening attached document (18.22 KB, text/plain)
2012-11-17 19:24 UTC, Doug
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug 2012-11-17 19:21:45 UTC
Created attachment 70197 [details]
WARNING: This document freezes my OpenSuse 12.2 i586 machine.  Ok on x86_64, but produces artifacts listed above.

In web view of documents like the one attached, LO view cuts off short of the end of the document on x86_64 OpenSuse 12.2, and freezes on an i586 OpenSuse 12.2 laptop.

The document contains a multi-column section in the middle and is longer than 1,000 lines long.  If you put the cursor (on the x86_64) at the end of the middle 'Multi Col' and hit enter, then scroll to the bottom of the document, the lines will be cut off at 879 or so.  If you hit enter elsewhere, the cutoff might be different or not at all.  In the source document that clued me into this error, entering a new line early in the muticolumn section cut off the page lower, and entering a new line later in the list cut off the document higher.

Trying to open this .odt document _freezes_ xwindows/KDE on my laptop, so beware.  Can be recovered by going to the system monitor via Alt-F2 and killing LO process.

I think this has to do with there being something like pseudo pages in the web view, that this operation is causing the joints between those hidden pages to be exposed.
Comment 1 Doug 2012-11-17 19:24:02 UTC
Created attachment 70198 [details]
backtrace of freeze on OpenSuse 12.2 i586 machine from opening attached document
Comment 2 Joel Madero 2013-06-02 03:07:50 UTC
Hey Doug,

Sorry for the long delay, this one indeed looks tricky. That being said:

Thank you for reporting this issue! I have been able to confirm the issue on:
Version: 4.2.0.0.alpha0+Build ID: b0a1666f756aa5f5315366eca9d7d02ddd55d2b
Date:   Tue May 28 08:51:01 2013 +0300 
Platform: Bodhi Linux 2.2 x64

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
As I've been able to confirm this problem I am marking as:

New (confirmed)
Major - loss of data apparently....very weird
High - default, seems appropriate



+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage and join us on freenode at #libreoffice-qa

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 3 Joel Madero 2015-01-06 19:34:52 UTC
Update here:

Ubuntu 14.04 x64
LibreOffice 3.3 (inherited from OOo) - I see the problem so updating version accordingly. Version is oldest version we can confirm on.

But:
LibreOffice 4.3.5.2 &
LibreOffice 4.4 beta 2

I do not see the problem. marking this as WFM. 

@Doug - if you can still see this on 4.3.5.2 or newer, please set back to UNCONFIRMED so we can get another independent confirmation.


Thanks!
Comment 4 Doug 2015-01-07 16:56:01 UTC
Reconfirmed on Version: 4.3.5.2.0+ Build ID: 430m0(Build:2) (OpenSusse 13.2).

When I put the cursor at the beginning of the middle cell in the multi-column part at top of document and press enter, the display cut off at the line numbered 875.  After that, there was a page break and blank pages.  

ADDITIONAL DETAIL:  When I resize the LO window to repaint the view, the lines after 875 now are displayed.  When I repeat the process for triggering the bug above, the text disappears again at another arbitrary location near 870 etc.

This same behavior has been observed in pre-4.3.5.2 instances.  I speculate it has to do with insufficient speed or system resources during initial draw of page view, and that after a while the resources become available and the page is displayed correctly when repainted on resizing.  It happens more on my two minimal machines, both Linux OpenSuse 13.1/13.2.  Not as noticable on the more robust system when I tried it previously, the x64 in the bug report.

I have observed the bug on initial LO window/document open as well, especially when the system is busy with other tasks.  There are hyperlinks in the original document that inspired the report, and I click at the top of the document to a bookmark near the bottom.  The link will work, but the text at that point where the bookmark is will not display and the page will appear blank with an arbitrary cutoff earlier in the page.  Resize the window a few times, and it appears.

On the bright side, my laptop did not freeze when opening the document.
Comment 5 Joel Madero 2015-01-07 17:32:42 UTC
In the future please do not set bugs to REOPENED, these have a specific meaning which is not met here.

Setting to UNCONFIRMED to get additional confirmation.

Thanks for your feedback.
Comment 6 Joel Madero 2015-01-09 17:11:05 UTC
Hey Doug,

Hm - there appears to be two issues being described in this bug. Are we past the crash and now just worried about page cutoffs? If so, I think we should edit the title of the bug to reflect this.
Comment 7 Doug 2015-01-09 19:11:46 UTC
Yes, it does not crash at this time. Edited title.
Comment 8 Buovjaga 2015-01-15 19:40:42 UTC
873 or 874(In reply to Doug from comment #4)
> Reconfirmed on Version: 4.3.5.2.0+ Build ID: 430m0(Build:2) (OpenSusse 13.2).
> 
> When I put the cursor at the beginning of the middle cell in the
> multi-column part at top of document and press enter, the display cut off at
> the line numbered 875.  After that, there was a page break and blank pages.  
> 
> ADDITIONAL DETAIL:  When I resize the LO window to repaint the view, the
> lines after 875 now are displayed.  When I repeat the process for triggering
> the bug above, the text disappears again at another arbitrary location near
> 870 etc.

I reproduced this. Cut off point was 873 and 874 for two tries.
Let's lower severity as the freeze is gone, ok?

Ubuntu 14.10 64-bit Version: 4.5.0.0.alpha0+
Build ID: 7201fa0dddd7dd0352f69fd2b2b64efcb361ccad
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2015-01-11_23:28:55
Comment 9 Doug 2015-07-17 02:56:05 UTC
The document now opens nicely on Linux LO 5.0.0.3 and Windows LO 5.0.0.3, both laptops.