Bug 125806 - Broken UI in Writer after pasting website contents
Summary: Broken UI in Writer after pasting website contents
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2019-06-08 19:51 UTC by Michael Weghorn
Modified: 2019-06-20 13:51 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast showing the issue (7.19 MB, video/ogg)
2019-06-08 19:51 UTC, Michael Weghorn
Details
sample document after saving (29.33 KB, application/vnd.oasis.opendocument.text)
2019-06-08 19:58 UTC, Michael Weghorn
Details
Screenshot after trying to scroll down to the bottom (144.49 KB, image/png)
2019-06-08 19:59 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn 2019-06-08 19:51:31 UTC
Created attachment 152054 [details]
Screencast showing the issue

Version: 6.4.0.0.alpha0+
Build ID: 58a095ac31b9db967fa4529f5d072e0d01e32f33
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded

Steps to reproduce:

1) start Writer
2) open in Firefox: https://en.cppreference.com/w/cpp/language/copy_assignment
3) select all webite content (Ctrl+A), copy (Ctrl+C)
4) switch to Writer window, paste (Ctrl+V)

Result:

* document is displayed strangely
* scrolling doesn't really work and makes the display even worse

Further notes:

* The behaviour is similar when using the kde5 VCL plugin instead of gtk3.
* This works fine with libreoffice-6-2 branch.
* Tested Debian testing, with KDE Plasma (X11)
* The behaviour is also/still strange when opening the document after saving.
Comment 1 Michael Weghorn 2019-06-08 19:58:03 UTC
Created attachment 152055 [details]
sample document after saving

Attached is the document after saving. Opening the document in writer, it looks OK at first.
However, when scrolling down all the way to the bottom, the scrollbar does goto the bottom, but bottom of page 3 i still shown in the document view. (This may be totally unrelated to the initial report though; I'll open a separate issue if this remains once the other one is fixed.)
Comment 2 Michael Weghorn 2019-06-08 19:59:26 UTC
Created attachment 152056 [details]
Screenshot after trying to scroll down to the bottom

The screenshot shows that the scrollbar at the right hand side is at the bottom, while the "middle" of the document is still shown.
Comment 3 Xavier Van Wijmeersch 2019-06-09 14:18:07 UTC
confirm with

Version: 6.4.0.0.alpha0+
Build ID: ce70dfe2ba577b3c49363c7218e4519611335edb
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Version: 6.4.0.0.alpha0+
Build ID: ce70dfe2ba577b3c49363c7218e4519611335edb
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: qt5; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 4 Xisco Faulí 2019-06-18 09:03:59 UTC
Hi Michael,
Looking at the screencast, it seems like a regression from a46a257794f1f53b294735fc876c394be23a3811, which got reverted in 76c4ed30437125a922936c036a3dc57441938c61.
Could you please try again with a recent master version ?
Comment 5 Xavier Van Wijmeersch 2019-06-18 18:10:54 UTC
For me it working

Version: 6.4.0.0.alpha0+
Build ID: adcb7bacb452dccde70b20a902f5c1f23f37913f
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Version: 6.4.0.0.alpha0+
Build ID: adcb7bacb452dccde70b20a902f5c1f23f37913f
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: qt5; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 Michael Weghorn 2019-06-18 20:31:10 UTC
(In reply to Xisco Faulí from comment #4)
> Hi Michael,
> Looking at the screencast, it seems like a regression from
> a46a257794f1f53b294735fc876c394be23a3811, which got reverted in
> 76c4ed30437125a922936c036a3dc57441938c61.
> Could you please try again with a recent master version ?

Yes, thanks, it (both, the initial report and what is mentioned in comment 1) works fine again with

Version: 6.4.0.0.alpha0+
Build ID: 4a478227f5af8322164ecce66fd056e9bf2eac89
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: kde5; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded
Comment 7 Adolfo Jayme Barrientos 2019-06-20 13:48:20 UTC Comment hidden (off-topic)
Comment 8 Xisco Faulí 2019-06-20 13:51:57 UTC
See comment 4