Bug 92206

Summary: EDITING Transparent text background goes white when cursor placed into a text box
Product: LibreOffice Reporter: Katarina Behrens (Inactive) <Katarina.Behrens>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aron.budea, fdbugs, ilmari.lauhakangas, jalojo, samtygier
Priority: medium Keywords: bibisected, regression
Version: 5.1.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: bug document

Description Katarina Behrens (Inactive) 2015-06-20 09:55:17 UTC
Created attachment 116677 [details]
bug document

To reproduce:

1. Open attached document
2. Click into 1st text box ("This text doesn't have white background") to start editing text

=> text background goes white (it is actually meant to be transparent) ... it goes transparent again when you click outside of the box

3. Now click into 2nd box ("This text has yellow background")

=> no such thing happens, background stays yellow

This affect not only user-defined text boxes, but also e.g. slide titles because the text there has transparent background by default
Comment 1 Buovjaga 2015-06-21 15:39:03 UTC
Confirmed.

Works ok in 4.4.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)

Ubuntu 15.04 64-bit 
Version: 4.4.2.2
Build ID: 40m0(Build:2)
Locale: en_US

Ubuntu 15.04 64-bit 
Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2015-06-20_00:06:19
Locale: en-US (en_US.UTF-8)
Comment 2 Jacques Guilleron 2015-07-31 14:31:54 UTC
Hi, 

Same behaviour with 
LO 5.0.0.1 Build ID: 9a0b23dd0ab9652e0965484934309f2d49a7758e
and upper versions.
Works as expected with 
LO 5.0.0.0.beta3 Build ID: 96345c15d8ab19c49014f055fe41ba8e1f421e5c 
& Windows 7 Home Premium

Jacques
Comment 3 Matthew Francis 2015-08-12 10:37:03 UTC
Bibisecting in the master dbgutil repo points to the range
 782c116b5ac39aef27c3a00f7fc145c9f755e3a3~1..c8344322a7af75b84dd3ca8f78b05543a976dfd5

Not sure, but in that range the following looks possibly connected?

commit 321f4925a79b74cfd0aea2221a74dd2717e6b8b2
Author: Katarina Behrens <Katarina.Behrens@cib.de>
Date:   Tue Jun 9 11:53:12 2015 +0200

    tdf#88055: Don't export transparent background colour as white
    
    The fix is twofold:
    1. retrieve transparency from colour in SvxBackgroundColorItem
    (add QueryValue, PutValue methods, use additional memberID to
    retrieve alpha channel as a bool property)
    2. add CharBackTransparent bool property to Draw [text] shapes,
    xmloff needs it to be able to output 'transparent' string instead of
    '#XXYYZZ' colour code in ODF format
    
    Change-Id: Id830bd18fd6da5d9a46e2a94aa254d5d2a6b7ebb
Comment 4 Katarina Behrens (Inactive) 2015-08-12 10:45:10 UTC
Connected indeed, but possibly just uncovers a bug that exists elsewhere
Comment 5 Robinson Tryon (qubit) 2015-12-13 11:13:15 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-01-03 19:49:22 UTC Comment hidden (obsolete)
Comment 7 Aron Budea 2017-01-08 04:06:05 UTC
Issue seems to be gone, please retest.
Comment 8 Buovjaga 2017-01-12 18:31:12 UTC
(In reply to Aron Budea from comment #7)
> Issue seems to be gone, please retest.

Yep, it's gone.

Version: 5.4.0.0.alpha0+
Build ID: 3afe82bd63fde41d2a88418fb64e4ff587b05436
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-01-04_23:42:57
Locale: fi-FI (fi_FI); Calc: group

Arch Linux 64-bit, KDE Plasma 5
Version: 5.4.0.0.alpha0+
Build ID: 2fd88ab1cbb4690a770ca2ca5d66157ec4906a2e
CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on January 12th 2016