Bug 106068 - Zooming makes chart rendering broken
Summary: Zooming makes chart rendering broken
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All Mac OS X (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart Zoom-Issues
  Show dependency treegraph
 
Reported: 2017-02-17 18:43 UTC by Tamás Zolnai
Modified: 2017-06-14 22:24 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file with the chart (24.41 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-02-17 18:44 UTC, Tamás Zolnai
Details
Screenshot showing the result of zooming (802.18 KB, image/png)
2017-02-17 18:48 UTC, Tamás Zolnai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Zolnai 2017-02-17 18:43:59 UTC
Description:
When I open the attached test document and change the zoom, chart layout become broken. Chartwall is shifted left, axis labels overlaps chart wall, legend labels are hanging out of the chart area.

Steps to Reproduce:
1. Open attached test document
2. Change zoom (100-110-140)
3. Check the chart layout

Actual Results:  
When zooming chart layout becomes broken.

Expected Results:
When zooming chart layout should rendered on the same way.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Comment 1 Tamás Zolnai 2017-02-17 18:44:31 UTC
Created attachment 131302 [details]
Test file with the chart
Comment 2 Tamás Zolnai 2017-02-17 18:48:40 UTC
Created attachment 131303 [details]
Screenshot showing the result of zooming
Comment 3 Jean-Baptiste Faure 2017-02-18 17:59:12 UTC
I guess the problem is the position of the legend.

Not reproducible for me with LO 5.3.1.0.0+ and master both built at home:
Version: 5.3.1.0.0+
Build ID: e38914af31b0150a383cc556e634da48eceb1dbc
Threads CPU : 4; Version de l'OS :Linux 4.4; UI Render : par défaut; VCL : gtk3; Moteur de mise en page : nouveau; 
Ubuntu_16.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); Calc: group

Version: 5.4.0.0.alpha0+
Build ID: 9bc537b7943bc4d82e759b394941f89c35658516
Threads CPU : 4; Version de l'OS :Linux 4.4; UI Render : par défaut; VCL : gtk3; 
Ubuntu_16.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); Calc: group

Best regards. JBF
Comment 4 Xisco Faulí 2017-02-19 12:00:28 UTC
I can't reproduce it in

Version: 5.4.0.0.alpha0+
Build ID: 880033edde516fc30225005245253293a6a58ba4
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: x11; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 5 Buovjaga 2017-02-19 20:11:56 UTC
I tried on macOS with a build from 6th February, but could not reproduce.

That said, I have noticed similar weirdness with Calc & zooming in other situations.
Comment 6 Xisco Faulí 2017-02-21 15:25:17 UTC
moving to NEW as Tamás assigned it to himself
Comment 7 Tamás Zolnai 2017-02-27 23:01:10 UTC
I stopped working on this issue. I thought the problem is related to some chart unit test failures (CppunitTest_chart2_dump), but it isn't.