Bug 39369 - Area transparency center x/y parameters ignored in slideshow
Summary: Area transparency center x/y parameters ignored in slideshow
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.4.1 release
Hardware: x86-64 (AMD64) All
: medium major
Assignee: Radek Doulik
URL:
Whiteboard: bibisected35 bibisected35older (targe...
Keywords: regression
Depends on:
Blocks:
 
Reported: 2011-07-19 03:44 UTC by trombka
Modified: 2012-10-28 05:52 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the problem (186.26 KB, image/png)
2011-07-19 03:46 UTC, trombka
Details
ODP file used for the screenshot (16.66 KB, application/vnd.oasis.opendocument.presentation)
2011-07-19 03:47 UTC, trombka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trombka 2011-07-19 03:44:31 UTC
During a slide show mode center x/y parameters of area transparency seem to be ignored. A test presentation and a screen shot attached.
Comment 1 trombka 2011-07-19 03:46:06 UTC
Created attachment 49292 [details]
Screenshot showing the problem
Comment 2 trombka 2011-07-19 03:47:02 UTC
Created attachment 49293 [details]
ODP file used for the screenshot
Comment 3 Jeffrey 2011-07-19 08:59:24 UTC
I am having problems reproducing on LibreOffice 3.4  340m1(Build:103) for OpenSuse Linux. When I download your attachment, this is what I see:

Gradient transparency for the slides with "test" on the center. Transparent in the bottom right corner. When I enter slide mode, the transparency is an oval in the center, which matches your screen shot exactly. I am about to confirm, but...

When I create my own rectangle shape and apply transparency gradient, it appears as it looks on slide view mode. Also, when I edit the style of the text box on the sides and enter text into it, it works fine as well. I am not sure of what you did to your shapes, but you give us the steps? That would be great. Here is how I did mine:

1. Insert a new slide
2. Edit the ready made body text box and right click, edit style.
3. Select Transparency, select gradient
4. Choose any configuration of color, direction, and percentage.
5. Once done, enter text into the text box
6. Press f5 for slide view

You can do the same with shapes. Maybe there is something different with the shapes you created? Because when I download them, they have the same problems that you pointed out, but when I create my own, they seem fine.
Comment 4 trombka 2011-07-20 02:32:01 UTC
First of all this is a regression problem. First I noticed it on presentations prepared with Impress version 3.3.* and opened on my colleague's MacOS with 3.4.

So I installed current vanilla version 3.4.1 on my Ubuntu and prepared this short (and totally new) test file.

1. File->New->Presentation
2. Click subtitle area (Default first slide is a title slide)
3. Enter text and press Esc so that focus is on the area not on the text
4. Right click on the focus border and choose Area
5. Choose some fill color.
6. Change tab to Transparency.
7. Choose Gradient radio buton
8. Choose Radial, Ellipsoid, Quadratic or Square Type - all affected.
9. Change Center X and/or Center Y to something different than 50%
10. <ok>, f5

BTW. On the preview of next slide in the slide show it all appears ok.
Comment 5 Rainer Bielefeld Retired 2011-11-21 22:33:22 UTC
[Reproducible] (with own documents and reporter's sample) with "LibreOffice 3.4.4  - WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:402)]", also
[Reproducible] with Server installation of Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) ENGLISH UI [(Build ID:  4f11d0a-adcf6d5-c4bb9bd)]" Windows_2008R2 - 111118).

Center in presentation mode always is 50%/50%, different settings for shapes or text boxes will be ignored.
 
Worked fine with "LibreOffice Portable 3.3.3  - WIN7  Home Premium (64bit) German UI [OOO330m19 (Build:301  Tag 3.3.3.1)]", so REGRESSION

Might be related to "Bug 42553 - VIEWING: wrong gradient geometry in Presentation mode", but that one started with 3.3.0

@Radek:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.
Comment 7 Julien Nabet 2012-10-27 22:49:41 UTC
I tested with master, 3.6 and 3.5 sources, 3 updated today.
master: it works (there's a crash during closing but that's another bug)
3.6 and 3.5: impossible to confirm or not, LO seems to enter in an infinite loop and I got this log repeated ad libitum:
 warn:legacy.tools:20042:1:/home/julien/compile-libreoffice/libo_3_6/solver/unxlngx6/inc/vcl/salbtype.hxx:420: Pixel represents color values!

Rainer: should it be considered as RESOLVED/FIXED and perhaps file a new bug? or do you think otherwise?
Comment 8 Rainer Bielefeld Retired 2012-10-28 05:52:35 UTC
Tested again with WIN
LibO 3.4.5: reproducible
LibO 3.5.1: geometry problem solved (but color much to bright)
LibO 3.5.2.2: geometry problem solved (but color much to bright)
LibO 3.5.6.2: geometry problem solved
LibO 3.5.7.2: geometry problem solved
LibO 3.6.3.2: geometry problem solved

WFM as suggested.