Bug 90012 - FILEOPEN: Title text without background is rendered as with white background
Summary: FILEOPEN: Title text without background is rendered as with white background
Status: RESOLVED DUPLICATE of bug 88295
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2015-03-15 01:48 UTC by entwicklung--2015--bugs.documentfoundation.org
Modified: 2015-12-15 11:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document (11.93 KB, application/vnd.oasis.opendocument.presentation)
2015-03-21 06:25 UTC, Matthew Francis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description entwicklung--2015--bugs.documentfoundation.org 2015-03-15 01:48:57 UTC
How to reproduce:
~~~~~~~~~~~~~~~~

1. Create new Impress Presentation.
2. In the title box (which currently says "Click to add title"), add title text "testtitle12-O" and assign it (using the "Area..." menu) a Color Fill, using color "Light green".
3. Also create a new text box using the Text Box tool, enter text "testtextbox-O" and assign it (using the "Area..." menu) a Color Fill, using color "Light green".
3. Observe that the interior of the "O"s of both text boxes is Light green.  
4. Save the document as "test.odp".
5. Close the file.
6. Reopen the file.

Expected Result:
~~~~~~~~~~~~~~~~

Observe that the interior of the testtextbox-"O" is Light green.
Observe that the interior of the testtitle12-"O" is Light green.

Actual Result:
~~~~~~~~~~~~~~~~

Observe that the interior of the testtextbox-"O" is Light green.
Observe that the interior of the testtitle12-"O" is white.
Comment 1 Buovjaga 2015-03-20 18:23:05 UTC
Reproduced, but not with 4.2.

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI

Ubuntu 14.10 64-bit 
Version: 4.4.1.2
Build ID: 40m0(Build:2)
Locale: en_US

Version: 4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Comment 2 Matthew Francis 2015-03-21 06:23:41 UTC
The behaviour of this changed a couple of times during 4.4 master

First, somewhere in the series 6c1fc9e94e36b4f74136bc044cc9a4b72f79d53f^1..59a2e1b9fa8663254550838c0c44d0cac290105f (unbuildable), the text foreground colour turns white

commit 6c1fc9e94e36b4f74136bc044cc9a4b72f79d53f
Author: matteocam <matteo.campanelli@gmail.com>
Date:   Mon Jun 16 15:07:58 2014 +0200

    Added Text Fill Color in TextSimplePortionPrimitive2D
    
    Change-Id: I40309c17d6e3d0547c4724a01b464e94a3c8a61c
    (cherry picked from commit 4177d9b34551f7cf2a7ea8d2dfdff37b89400db4)

.....

commit 59a2e1b9fa8663254550838c0c44d0cac290105f
Author: matteocam <matteo.campanelli@gmail.com>
Date:   Mon Jun 30 14:41:37 2014 -0400

    Cleanup: removed comments and debugging output
    
    Change-Id: I41f13d33da641153784725344f5bd526ca69542b


Then, in the below commit, the text turns black again, but gains an unwanted white background

    commit 0f47de0cff673d298af63926e15e3dff40ee80db
    Author:     Kohei Yoshida <kohei.yoshida@collabora.com>
    AuthorDate: Tue Jul 22 15:25:27 2014 -0400
    Commit:     Kohei Yoshida <kohei.yoshida@collabora.com>
    CommitDate: Tue Jul 22 15:26:14 2014 -0400
    
        Fix the font handling esp wrt font colors.
    
        Change-Id: I7dda03368f67ea6a12dfb39115f4546277abb76b


Adding Cc: to matteo.campanelli@gmail.com; Any chance you could take a look at this? Thanks
Comment 3 Matthew Francis 2015-03-21 06:25:19 UTC
Created attachment 114225 [details]
Sample document
Comment 4 Matteo Campanelli 2015-03-30 19:12:44 UTC
(In reply to Matthew Francis from comment #2)
 
> Adding Cc: to matteo.campanelli@gmail.com; Any chance you could take a look
> at this? Thanks

Yes, I should look at it in the next few days.
Comment 5 Katarina Behrens (Inactive) 2015-06-10 15:31:48 UTC
OP or QA guys: please check with one of the daily builds that contain fix for bug 88055 (i.e. as of today 10th June or newer) if this also fixes this particular problem ... I'd say it does, but want to double-check
Comment 6 Buovjaga 2015-06-11 08:31:29 UTC
Can confirm this is fixed, but dupe of bug 88295.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 5fc0cbbc1254223fedf0f78c5e7539219b228697
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-11_04:30:51
Locale: fi-FI (fi_FI)

*** This bug has been marked as a duplicate of bug 88295 ***
Comment 7 Robinson Tryon (qubit) 2015-12-15 11:03:20 UTC
Migrating Whiteboard tags to Keywords: (bibisected)
[NinjaEdit]