<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - VIEWING: Embedded newline does not display correctly when set via SetDataArray()"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=142033">142033</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>VIEWING: Embedded newline does not display correctly when set via SetDataArray()
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.1.2.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stuartm.coding@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
- Basic macro
- String with embedded newline by ..." + Chr(10) + "...
- setting the string into a cell with range.SetString() causes the cell to
display the string and its newline
- setting the string into a cell with range.SetDataArray() causes the cell to
display the string but suppress the newline
- editing the bad cell by select, F2, [enter] does not change the display
- editing the bad cell be select, F2, _any change whatsoever_, [enter] causes
the cell to display the newline correctly
Test case attached
Steps to Reproduce:
See attached test sheet and its macro that demonstrates the issue
Actual Results:
Display does not show string with its newline, it's all squashed up
Expected Results:
Display shows string with its newline so it looks nice
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
Discovered on 6.0.7.3, upgraded to 7.1.2.2, still present.
There is a dialog box that proves the newline is still in the string, it is a
display bug only. Still, it needs to be fixed because data is not presented as
intended.
Ubuntu 18.04 x64
stuart@home:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD TAHITI (DRM 2.50.0, 5.4.0-72-generic, LLVM 10.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 20.0.8
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>