[Libreoffice-bugs] [Bug 142033] New: VIEWING: Embedded newline does not display correctly when set via SetDataArray()
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat May 1 20:07:48 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=142033
Bug ID: 142033
Summary: VIEWING: Embedded newline does not display correctly
when set via SetDataArray()
Product: LibreOffice
Version: 7.1.2.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: stuartm.coding at gmail.com
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 at 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:
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210501/75b8b07f/attachment.htm>
More information about the Libreoffice-bugs
mailing list