Bug 117462 - FORMATING: Rendering of svg file (LO-Logo) is incorrect and corrupt after rotation
Summary: FORMATING: Rendering of svg file (LO-Logo) is incorrect and corrupt after rot...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Object-Rotation
  Show dependency treegraph
 
Reported: 2018-05-06 17:39 UTC by Micha
Modified: 2023-11-08 05:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Presentation that gets rendered corruptly (43.97 KB, application/vnd.oasis.opendocument.presentation)
2018-05-06 17:40 UTC, Micha
Details
Screenshot in presentation mode (71.24 KB, image/png)
2018-05-06 17:40 UTC, Micha
Details
The svg file that is in the presentation (141.88 KB, image/svg+xml)
2018-05-06 17:41 UTC, Micha
Details
Issue on a Windows 7 with LO 6.0.3.2 (309.99 KB, image/png)
2018-05-08 21:09 UTC, Micha
Details
Screenshot of Libreoffice logo svg in LO 3.3 (8.65 KB, image/png)
2019-06-12 21:10 UTC, Micha
Details
Screenshot for 7.6 (86.50 KB, image/png)
2023-10-25 17:07 UTC, Micha
Details
Screenshot for 7.4 (86.43 KB, image/png)
2023-10-25 17:08 UTC, Micha
Details
24.2 on windows (147.09 KB, image/png)
2023-11-08 05:18 UTC, Kira Tubo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Micha 2018-05-06 17:39:08 UTC
Description:

An svg file (the LO logo) is shown incorrectly in the presentation view.
Rotating the image leads to definitely corrupt rendering.
The UI shows it correctly.

See also attached files.

Hint: The images with +-2° Rotation are not missing absolutely. There is still something with color 0xfefefe left.

Maybe related to the bugs below. However, I haven't seen one where the image gets absolutely corrupt.

https://bugs.documentfoundation.org/show_bug.cgi?id=97531
https://bugs.documentfoundation.org/show_bug.cgi?id=92742
https://bugs.documentfoundation.org/show_bug.cgi?id=97691
https://bugs.documentfoundation.org/show_bug.cgi?id=103151
https://bugs.documentfoundation.org/show_bug.cgi?id=61238

I found the svg file in my debian installation. 
It turned out to be from the 6.0.4-1 libreoffice6.0-debian-menus package.

micha@proteus:~$ md5sum /usr/share/icons/gnome/scalable/apps/libreoffice6.0-main.svg
9becd22f45705369dcbd7e51ddb337a3  /usr/share/icons/gnome/scalable/apps/libreoffice6.0-main.svg

root@triton:~# dpkg -S /usr/share/icons/gnome/scalable/apps/libreoffice6.0-main.svg
libreoffice6.0-debian-menus: /usr/share/icons/gnome/scalable/apps/libreoffice6.0-main.svg

root@triton:~# apt-cache show libreoffice6.0-debian-menus
Package: libreoffice6.0-debian-menus
Status: install ok installed
Installed-Size: 32280
Maintainer: LibreOffice
Architecture: all
Version: 6.0.4-1
Description: LibreOffice 6.0 desktop integration
Description-md5: ca29ebbf7e98a0aecca1b73eacaafdfb




Steps to Reproduce:
1. Add provided svg file to presentation (maybe rotate)
2. Present
or
1. Open attached file and present

Actual Results:  
Image from SVG file is not rendered correctly. Rotation by a few degrees make it defenitely corrupt.

Expected Results:
SVG rendering is correct


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:

Reproduced with this versions:

Version: 5.2.7.2
Build ID: 1:5.2.7-1+deb9u4
CPU Threads: 4; OS Version: Linux 4.9; UI Render: default; VCL: x11; 
Locale: en-US (en_US.UTF-8); Calc: group
(current debian version)

Version: 6.0.4.1
Build ID: a63363f6506b8bdc5222481ce79ef33b2d13c741
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group

Version: 6.1.0.0.alpha1+
Build ID: 4ed3137022efa6128ad146e4b4dfae13548431dc
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-05-04_01:13:51
Locale: en-US (en_US.UTF-8); Calc: group


root@triton:~# glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 13.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:



User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Micha 2018-05-06 17:40:22 UTC
Created attachment 141935 [details]
Presentation that gets rendered corruptly
Comment 2 Micha 2018-05-06 17:40:59 UTC
Created attachment 141936 [details]
Screenshot in presentation mode
Comment 3 Micha 2018-05-06 17:41:55 UTC
Created attachment 141937 [details]
The svg file that is in the presentation
Comment 4 Jacques Guilleron 2018-05-07 14:44:31 UTC
HI Micha,

I dont reproduce this render issue with
LO 6.1.0.0.alpha1+ (x64) Build ID: 08441d466dd70c203a519a133aaf1a5997adbbd3
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-05-07_01:12:11
Locale: fr-FR (fr_FR); Calc: CL
Possibly linux issue only.
Comment 5 Micha 2018-05-08 21:08:44 UTC
Hi Jacques,

I have also tried this on a Windows 7 computer with the version 6.0.3.2.
There I also see the weird rendering.
Screenshot is comming.

Did you start the presentation?

Version: 6.0.3.2 (x64)
Build ID: 8f48d515416608e3a835360314dac7e47fd0b821
CPU threads: 8; OS: Windows 6.1; UI render: default; 
Locale: de-DE (de_DE); Calc: CL

Maybe its me :(
Comment 6 Micha 2018-05-08 21:09:37 UTC
Created attachment 141989 [details]
Issue on a Windows 7 with LO 6.0.3.2
Comment 7 Buovjaga 2018-06-08 17:54:16 UTC
Repro.
The gradient looks even worse in older versions, even in edit mode.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 67aaa98600269e6b8fa631146c3649a261369471
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 7th 2018
Comment 8 QA Administrators 2019-06-09 03:01:27 UTC Comment hidden (obsolete)
Comment 9 Micha 2019-06-12 20:31:31 UTC
Indeed, still reproducible with: 

Version: 6.2.4.2
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 12; OS: Linux 4.17; UI render: default; VCL: x11; 
Locale: de-DE (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 10 Micha 2019-06-12 21:09:23 UTC
Tested with 3.3 as suggested.
Rendering with 3.3 does not work at all.

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

Not sure if this is now inherited from OO or not as never worked - but got better in LO.

With 3.3 the file the preview test.odp does not even work. In presentation mode the svgs are missing. 
When the svgs are added again from the filesystem they look absolutely different ( e.g. red (wtf)). However rotation of the defective rendering works in presentation mode. Screenshot will be added
Comment 11 Micha 2019-06-12 21:10:23 UTC
Created attachment 152146 [details]
Screenshot of Libreoffice logo svg in LO 3.3
Comment 12 QA Administrators 2021-06-12 03:49:37 UTC Comment hidden (obsolete)
Comment 13 Micha 2021-10-23 09:32:16 UTC
Still reproducible with:

Version: 7.1.7.1 / LibreOffice Community
Build ID: b7e169ea97ed281a064d4e488fa1bb29cb906303
CPU threads: 12; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: de-DE (en_GB.UTF-8); UI: en-US
Calc: threaded

Cheers
Comment 14 QA Administrators 2023-10-24 03:13:43 UTC Comment hidden (obsolete)
Comment 15 Sophie Sipasseuth 2023-10-25 14:35:25 UTC
No repro with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e9374f74385d7dfe77d1902d3d82af20143bc775
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 16 Micha 2023-10-25 17:07:08 UTC
Hi, I still can reproduce it with these versions:

Version: 7.6.3.0.0+ (X86_64) / LibreOffice Community
Build ID: 7ac1eada88ff81830bb0d36cda4a902084b5f8d9
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (en_GB.UTF-8); UI: en-US
Calc: threaded


Version: 7.4.7.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (en_GB.UTF-8); UI: en-US
Debian package version: 4:7.4.7-1
Calc: threaded

However the rendering looks slightly different.
Screenshots are coming.
Comment 17 Micha 2023-10-25 17:07:56 UTC
Created attachment 190419 [details]
Screenshot for 7.6
Comment 18 Micha 2023-10-25 17:08:26 UTC
Created attachment 190420 [details]
Screenshot for 7.4
Comment 19 Kira Tubo 2023-11-08 05:18:33 UTC
Created attachment 190708 [details]
24.2 on windows

Reproduced on 24.2 for Windows

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 676e0527d2f31556eccae314fbb12ce204f02ec7
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded