Bug Hunting Session
Bug 121046 - EDITING: Rotated Images with 1 bit per pixel are Black in running presentation
Summary: EDITING: Rotated Images with 1 bit per pixel are Black in running presentation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Impress-Images
  Show dependency treegraph
 
Reported: 2018-10-30 01:01 UTC by Daniel Oakey
Modified: 2019-01-09 13:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
This demonstrates the problem I've been having with rotated images (13.31 KB, application/vnd.oasis.opendocument.presentation)
2018-10-30 23:32 UTC, Daniel Oakey
Details
screencast of color change with angle (409.95 KB, video/mp4)
2018-10-31 01:00 UTC, Regis Perdreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Oakey 2018-10-30 01:01:56 UTC
Description:
Rotate an image with a alpha'd out background. When presenting, the opaque area will be filled with black.

https://i.imgur.com/MyiNRNK.png



Steps to Reproduce:
1. Drag an image with and alpha background
2. Press F5 to run the presentation
3. Notice the opaque area will be filled with black

Actual Results:
The image is filled in with black

Expected Results:
The image should look the same, but rotated


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Comment 1 Regina Henschel 2018-10-30 23:12:50 UTC
I cannot reproduce it. Please add a document, which has this error.

You have written "drag". From where do you have dragged the image? Do you get the same error, if you use the Insert menu instead?
Comment 2 Daniel Oakey 2018-10-30 23:32:32 UTC
Created attachment 146180 [details]
This demonstrates the problem I've been having with rotated images
Comment 3 Regina Henschel 2018-10-31 00:07:44 UTC
The reason is not an alpha channel. But the image has a color depth of 1 bit per pixel.

It was OK in
Version 4.0.1.2 (Build ID: 84102822e3d61eb989ddd325abf1ac077904985)
It is broken in 
Version: 4.5.0.0.alpha0+
Build ID: 40b1e8266e47792d354cd457c652bfb0f0a21e69
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-02-11_00:13:43
Locale: en_US
Comment 4 Regis Perdreau 2018-10-31 01:00:31 UTC
Created attachment 146181 [details]
screencast of color change with angle
Comment 5 Regis Perdreau 2018-10-31 01:01:17 UTC
I would say something is wrong with the rotate display function...The color change with the angle. See screen capture.

Confirmed in Version: 6.0.6.2
Build ID: 1:6.0.6-0ubuntu0.18.04.1
Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: x11; 
Locale : nl-NL (fr_FR.UTF-8); Calc: group