[Upstream] Impress: wrong transparency rendering in presentation mode

Bug #768508 reported by Paolo Sammicheli
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
Medium
libreoffice (Ubuntu)
Fix Released
Medium
Björn Michaelsen

Bug Description

Binary package hint: libreoffice

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

LibreOffice 3.4.0 DEV300m103(Build:5)

3) What is expected to happen in LibreOffice Impress via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/768508/+attachment/2080447/+files/768508-test-document.odp && loimpress -nologo 768508-test-document.odp

the top TEST AREA picture's transparency shows 50%, and shows the same in edit mode and Slide Show mode.

4) What happens instead is this picture looks different between the two modes.

WORKAROUND: Highlight top box -> Format -> Area... -> Transparency tab -> click the Gradient radio button -> Start value combo box 50% -> End value combo box 51% -> OK button

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libreoffice-impress 1:3.3.2-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Thu Apr 21 20:20:50 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110411.1)
ProcEnviron:
 LANGUAGE=it_IT:en
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , maddoxflower (maddoxflower) wrote :

Created attachment 42591
Minimal presentation to reproduce the bug.

Area transparency does not work properly in presentation mode. Simplest way to reproduce (see also attachment):
1. Create a rectangle on top of some text
2. Fill color: white
3. Choose transparency 50%. Rectangle is correctly displayed (Normal view).
4. Switch into presentation mode: The rectangle appears in transparent gray, not transparent white (if you choose a different fill color, light red for instance, the transparency also seems to translate into a gray shaded red).
5. There is a way around the problem: Choose a linear transparency gradient with start value 50% and end value 50%. Funnily, the rectangle is fully transparent in Normal view, but appears 50% transparent (white) in presentation mode.

Revision history for this message
In , Jeff Fortin Tam (kiddo) wrote :

Created attachment 44251
additional minimal test case

I'm also seeing this. The color rendering of transparent gradients is completely different in editing mode than in presentation view.

Revision history for this message
In , Todd R (toddrme2178) wrote :

I'm having this problem as well. It applies both to transparencies in the main document and those in the master pages.

Revision history for this message
Paolo Sammicheli (xdatap1) wrote :
Revision history for this message
Paolo Sammicheli (xdatap1) wrote :

Design View:
 - Left Box: White with 50% transparency
 - Right Box: White with gradient from 50% transparency to 51%

They looks like the same color.

Revision history for this message
Paolo Sammicheli (xdatap1) wrote :

Presentation View:
 - Left Box: White with 50% transparency
 - Right Box: White with gradient from 50% transparency to 51%

The normal 50% transparency it's poorly rendered.

Revision history for this message
Paolo Sammicheli (xdatap1) wrote :

Gradient setting for the workaround I suggested.

description: updated
description: updated
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Hi Paolo, nice catch. I reproduce this in Ubuntu 11.04. I've attached an example document. To reproduce/test this:
1) Load the document
2) Press F5 repeatedly to switch from design to presentation mode back and forth.

I am assigning medium priority as you provided a workaround and although annoying I am not sure this would affect many people. I welcome any different opinion (and the resulting priority change).

Changed in libreoffice (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
summary: - Wrong Transparency Rendering in presentation mode
+ Impress: wrong transparency rendering in presentation mode
Revision history for this message
Fabián Rodríguez (magicfab) wrote : Re: Impress: wrong transparency rendering in presentation mode
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Paolo, can you confirm you upgraded from OOo in Ubuntu 10.04LTS and it worked in that OOo version ?

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Paolo Sammicheli (xdatap1) wrote :

Hello Fabian!

Yes, I can confirm that OpenOffice.org in Lucid isn't affected by the problem.

I noticed it because I continued editing a presentation I started with OOo few days ago. (a presentation for the next Italian Ubuntu Party. Little link for posterity: http://www.ubuntu-party.it)

Revision history for this message
In , Derekkeats (derekkeats) wrote :

I get the same problem and it is a big issue for people using LO for presentations. I would hope this can be given a higher priority because transparency is an important aspect of making good presentations. I am happy to help testing.

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

[Reproducible] with "additional minimal test case" and "LibreOffice 3.4Beta3 – WIN7 Home Premium (64bit) German UI [DEV300m103 (Build:3)]". In presentation mode there is an additional grey in the transparnet colors green and brown.

Related to "Bug 36470 - Transparency rendering grey instead of white in presentation mode"?

Changed in df-libreoffice:
status: Confirmed → Invalid
description: updated
Revision history for this message
penalvch (penalvch) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as Triaged and let them handle it from here. Thanks for taking the time to make Ubuntu better!

description: updated
tags: added: lo33
Changed in libreoffice (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
In , penalvch (penalvch) wrote :

*** Bug 36470 has been marked as a duplicate of this bug. ***

Changed in df-libreoffice:
importance: Medium → Unknown
status: Invalid → Unknown
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Michael Coo (augustuslogos) wrote :

i can confirm this as well..

Revision history for this message
In , Rodo (rodo) wrote :

I have fixed this problem in master branch and sent for review to include in 3-4 branch as well.

Changed in df-libreoffice:
status: Confirmed → Fix Released
Revision history for this message
In , Raph-82 (raph-82) wrote :

I suggest to reopen this bug: see my attachment and comment in bug 36766 !

Changed in df-libreoffice:
status: Fix Released → Confirmed
Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

I still see the problem with Master "LibO-dev 3.4.5 – WIN7 Home Premium (64bit) English UI, but I think code base of that version (master~2011-07-11_09.48.50_LibO-Dev_OOO350m1_Win_x86_install_en-US.exe) can't contain the fix.
[(Build ID:d337f79-a24c961-2865670-9752b71-7f8fd43
 2fdd60d-fd28b6a-fd7bf20-aa369cb-28da3fb
 6a9633a-931d089-ecd263f-c9b55e9-b31b807
 82ff335-599f7e9-bc6a545-1926fdf)]"

@Radek:
Can you please contribute target or GIT information?

@Raphaël
What information do you have that the fix has been integrated into code for 3.4.2? Please do not modify pickers if you are not sure concerning interrelations and consequences.

I will close this bug again without new information.

penalvch (penalvch)
summary: - Impress: wrong transparency rendering in presentation mode
+ [Upstream] Impress: wrong transparency rendering in presentation mode
Revision history for this message
In , Raph-82 (raph-82) wrote :

(In reply to comment #8)
> I still see the problem with Master "LibO-dev 3.4.5 – WIN7 Home Premium
> (64bit) English UI, but I think code base of that version
> (master~2011-07-11_09.48.50_LibO-Dev_OOO350m1_Win_x86_install_en-US.exe) can't
> contain the fix.
> [(Build ID:d337f79-a24c961-2865670-9752b71-7f8fd43
> 2fdd60d-fd28b6a-fd7bf20-aa369cb-28da3fb
> 6a9633a-931d089-ecd263f-c9b55e9-b31b807
> 82ff335-599f7e9-bc6a545-1926fdf)]"
>
>
> @Radek:
> Can you please contribute target or GIT information?
>
> @Raphaël
> What information do you have that the fix has been integrated into code for
> 3.4.2? Please do not modify pickers if you are not sure concerning
> interrelations and consequences.
>
> I will close this bug again without new information.

My information about the integration of the fix patch in version 3.4.2 was the fact that something changed from 3.4.1: the issue as described in comment 0 seems to be fixed now. But the problem isn't: in the file attached in comment 5 bug 36766, you can see that, for instance, black areas with transparency gradient on black background turn gray in presentation mode !

So, if the problem seems to be solved for 'simple' transparency areas, it is not the case for 'gradient' transparency areas, so I think it is better to re-open this bug than to open a new one called 'Area with gradient transparency turns gray in presentation mode'... Issue clearly connected with bug 35681.

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

*** Bug 39905 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

@Raphaël:
(In reply to comment #9)

The only interesting fact would be that you show that in build where the fix is integrated still shows the problem (also from Bug 39905) "grey instead of transparent". This info still is missing, so I close this bug again.

Please feel free to reopen the Bug if you can contribute a build name with integrated fix that still shows the "additional grey" problem.

BTW, the effect from Report step 5 es something completely different, DUP of "Bug 39924 - VIEWING shapes with transparent color gradient filling wrong for equal start and end value"

Changed in df-libreoffice:
status: Confirmed → Fix Released
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

Commited upstream with target 3.5 => Fix commited.

Changed in libreoffice (Ubuntu):
status: Triaged → Fix Committed
trombka (trombka)
Changed in libreoffice (Ubuntu):
status: Fix Committed → Fix Released
Changed in libreoffice (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

Fixed as per upstream 3.5.0 released with precise.

Changed in libreoffice (Ubuntu):
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
status: Fix Committed → Fix Released
Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

@Radek:
For me the problem is visible with "additional minimal test case" and also with both samples from "Bug 36547 - Impress: Rendering problems with some .odp files" <https://bugs.freedesktop.org/show_bug.cgi?id=36547> using
"LibreOffice 3.5.1.1 German UI/Locale [Build-ID: 45a2874-aa8c38d-dff3b9c-def3dbd-62463c8] on German WIN7 Home Premium (64bit)
and with
"LibreOffice 3.4.5 German UI [Build ID: OOO340m1 (Build:502)]" parallel Server installation on German WIN7 Home Premium (64bit)

I reopen this bug because I can't find any version in the past for what the "transparency turns gray" problem has been solved and git information still is missing.

@Radek:
May I remind you to my 8? Can you please check?

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

*** Bug 36547 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Tbehrens-u (tbehrens-u) wrote :

Much of this is fixed with bug 45219 (a slew of transparency issues, shown by the bugdoc there).

I retain the problem from "Minimal presentation to reproduce", that the 50-50 transparency gradient is different under slideshow mode.

Changed in df-libreoffice:
status: Fix Released → Confirmed
Revision history for this message
In , Tbehrens-u (tbehrens-u) wrote :

Fixed in master. In fact, slideshow is right, edit view was wrong here.

Revision history for this message
In , Libreoffice-bugs (libreoffice-bugs) wrote :

Thorsten Behrens committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=983c27402e151126c5bef6623eeb07f333456243

Fix fdo#33591 - edge-case trans gradients came out empty

Revision history for this message
In , Libreoffice-bugs (libreoffice-bugs) wrote :

Thorsten Behrens committed a patch related to this issue.
It has been pushed to "libreoffice-3-5":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=513ae531ccd3080fa1089d2d9d7dc829e96267cf&g=libreoffice-3-5

Fix fdo#33591 - edge-case trans gradients came out empty

It will be available in LibreOffice 3.5.3.

Changed in df-libreoffice:
status: Confirmed → Fix Released
Revision history for this message
In , Tbehrens-u (tbehrens-u) wrote :

*** Bug 39924 has been marked as a duplicate of this bug. ***

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.