Bug 118363 - Smiley shape with background image displayed as polygon in slideshow when hardware acceleration is disabled
Summary: Smiley shape with background image displayed as polygon in slideshow when har...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: Slide-Show
  Show dependency treegraph
Reported: 2018-06-25 07:43 UTC by Jean-Sebastien Bevilacqua
Modified: 2023-04-09 03:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Bad rendering of the slideshow (272.40 KB, image/png)
2018-06-25 07:43 UTC, Jean-Sebastien Bevilacqua
Expected result (203.60 KB, image/png)
2018-06-25 08:00 UTC, Jean-Sebastien Bevilacqua
Example file (531.01 KB, application/vnd.oasis.opendocument.presentation)
2018-06-28 09:41 UTC, Buovjaga
bad rendering with hardware acceleration disabled (412.29 KB, image/png)
2019-04-08 10:52 UTC, BogdanB

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Sebastien Bevilacqua 2018-06-25 07:43:12 UTC
Created attachment 143085 [details]
Bad rendering of the slideshow


There is a bug in the slideshow when you render a shape with a bitmap as background.
This bug appears only if OpenGL is disabled. When you enable OpenGL, the rendering is correct.

To reproduce it:

1 - Open Impress and disable Hardware rendering (restart)
2 - Open Impress and Insert -> Shape -> Symbol -> Smiley Face
3 - Right click on the Smiley Face and select Area
4 - Select a bitmap
5 - Now go in the menu: SlideShow -> SlideShow settings
6 - Set the presentation mode to "In a window"
7 - Start the Presentation

You will see the picture that I join here.
Like you can see, it's not the expected result.

Things to note: This bug appears not only with bitmap background but with Pattern background too. 

Comment 1 Jean-Sebastien Bevilacqua 2018-06-25 07:47:34 UTC
Still valids on Master.
Reproduced on Windows and Linux
Comment 2 Jean-Sebastien Bevilacqua 2018-06-25 07:55:58 UTC
The smiley should be a round, not a polygon
Comment 3 Jean-Sebastien Bevilacqua 2018-06-25 08:00:42 UTC
I add the expected result
Comment 4 Jean-Sebastien Bevilacqua 2018-06-25 08:00:56 UTC
Created attachment 143087 [details]
Expected result
Comment 5 mh rony 2018-06-27 07:51:40 UTC Comment hidden (obsolete)
Comment 6 Jean-Sebastien Bevilacqua 2018-06-27 08:37:54 UTC
I found a hack:

In the file canvas/source/factory/cf_service.cxx:lookUpAndUse

Force bUseAcceleratedEntry = true; and bForceLastEntry = false;

The problem comes from a canvas which not display well this kind of shapes.
Comment 7 Buovjaga 2018-06-28 09:41:44 UTC
Created attachment 143182 [details]
Example file

Repro with hw accel disabled (note that you don't need to restart after disabling)

Arch Linux 64-bit
Build ID: 4600b07c1d787f959618d9ecf54161e4ea4ffa61
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 28th 2018

Arch Linux 64-bit
Version (Build ID: e183d5b)
Comment 8 Buovjaga 2018-06-28 09:42:56 UTC
Probably inherited
Comment 9 Buovjaga 2018-06-28 10:02:51 UTC
At least it is in oldest 3.5.0 in 43all bibiset repo.
Comment 10 Jean-Sebastien Bevilacqua 2019-04-08 08:39:01 UTC

I can't reproduce it on master
Comment 11 Buovjaga 2019-04-08 09:14:29 UTC
I can still repro

Arch Linux 64-bit
Build ID: e967aea2d8cc4f9fc608cb726cb474c184fb61de
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 7 April 2019
Comment 12 BogdanB 2019-04-08 10:52:27 UTC
Created attachment 150608 [details]
bad rendering with hardware acceleration disabled

It is bad rendered with hardware acceleration disabled. See the screenshot.

Build ID: 84d4125b28c384f9ac6285737a5bb9093978798e
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-04-06_20:07:58
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 13 BogdanB 2019-04-08 10:53:07 UTC
And is good rendered with Hardware acceleration activated.
Comment 14 QA Administrators 2021-04-08 03:39:16 UTC Comment hidden (obsolete)
Comment 15 QA Administrators 2023-04-09 03:26:15 UTC
Dear Jean-Sebastien Bevilacqua,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team