Bug 125822 - Document view breaks after pasting content to a new document
Summary: Document view breaks after pasting content to a new document
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2019-06-10 11:11 UTC by Xisco Faulí
Modified: 2019-06-13 10:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
screencast (2.38 MB, video/mp4)
2019-06-10 11:11 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2019-06-10 11:11:25 UTC
Created attachment 152076 [details]
screencast

Steps to reproduce:
1. Open attachment 147138 [details]
2. CTRL+A + CTRL+C
3. CTRL+N
4. CTRL+V
5. Zoom in and zoom out using the mouse wheel

Current behaviour: the document view gets completely broken. See attached screencast

Reproduced in

Version: 6.4.0.0.alpha0+
Build ID: ec905d131374f0860bac77c52873eed984b1966f
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Xisco Faulí 2019-06-10 11:13:05 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=a46a257794f1f53b294735fc876c394be23a3811

author	Noel Grandin <noel.grandin@collabora.co.uk>	2019-06-05 15:24:04 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	2019-06-07 11:01:37 +0200
commit a46a257794f1f53b294735fc876c394be23a3811 (patch)
tree 9eb4fb72df2cc9e2acdf3edffe0a72f67f90b9fa
parent 43ddddb703bcdb9430752af63ae46527f737f874 (diff)
improve empty tools::Rectangle (width)

Bisected with: bibisect-linux64-6.4

Adding Cc: to Noel Grandin
Comment 2 Noel Grandin 2019-06-12 10:12:42 UTC
The problematic commit has been reverted
Comment 3 Xisco Faulí 2019-06-13 10:14:59 UTC
Verified in

Version: 6.4.0.0.alpha0+
Build ID: ee4823e16e5fece068ee123b9c3e29834cd38763
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded