Bug 1283420

Summary: message box fonts corrupted in libreoffice
Product: [Fedora] Fedora Reporter: Jan Vesely <jan.vesely>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: caolanm, dtardon, erack, foss, jan.public, jan.vesely, ltinkl, mstahl, otte, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libreoffice-5.0.4.2-2.fc23 libreoffice-5.0.4.2-3.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-25 00:25:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dialog
none
license information
none
partial corruption none

Description Jan Vesely 2015-11-18 22:43:49 UTC
Created attachment 1096359 [details]
dialog

Description of problem:
The text is unreadable. See attachment.


Version-Release number of selected component (if applicable):


How reproducible:
always (although not all dialogs, I have mostly seen it with calc)

Name        : libreoffice-calc
Epoch       : 1
Version     : 5.0.3.2
Release     : 4.fc23
Architecture: x86_64
Install Date: Tue 10 Nov 2015 10:42:24 AM CST
Group       : Applications/Productivity
Size        : 29978385
License     : (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0
Signature   : RSA/SHA256, Sat 07 Nov 2015 07:13:35 PM CST, Key ID 32474cf834ec9cba
Source RPM  : libreoffice-5.0.3.2-4.fc23.src.rpm
Build Date  : Thu 05 Nov 2015 02:28:23 PM CST
Build Host  : buildhw-06.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.libreoffice.org/
Summary     : LibreOffice Spreadsheet Application

Comment 1 Caolan McNamara 2015-11-19 13:06:14 UTC
Which dialog is the screen shot of ? The "Do you want to save" dialog is definitely rock solid for me with no corruption.

Comment 2 Jan Vesely 2015-11-19 15:35:20 UTC
Created attachment 1096743 [details]
license information

I don't remember what dialog it was. however, the issue can be reproduced simply by displaying license information (help->license information).
This one is from oowriter (te same issue in oocalc).

Comment 3 Jan Vesely 2015-11-19 15:38:05 UTC
Created attachment 1096745 [details]
partial corruption

sometimes only part of the dialog displays with corrupted fonts. The following happens every time I try to copy-paste text(with newlines and tabs/spaces) into oocalc.

Comment 4 Caolan McNamara 2015-12-14 14:03:21 UTC
*** Bug 1287411 has been marked as a duplicate of this bug. ***

Comment 5 Caolan McNamara 2015-12-14 16:14:35 UTC
gtk3 backend is unaffected, only the gtk2 one. Double checking with old versions of libreoffice 4.0.0 those are also affected if run on fedora 23, so seems that whatever the problem is is, its not a regression on our side. Either it was "always wrong, but worked", or some other component has broken. My money is on some XRendr problem.

Comment 6 Caolan McNamara 2015-12-14 21:10:40 UTC
we're drawing the text with cairo, interestingly if I add an additional debugging draw + clear of a pixel via cairo_fill to that xlib surface before drawing the text, then it renders perfectly fine.

I'll try and extract a standalone demo unless the rings a bell with anyone.

Comment 7 Caolan McNamara 2015-12-15 11:40:36 UTC
can't seem to create a standalone example. I can tell that if I build cairo with --enable-xlib-xrender=no then it also works fine, so the problem is in that direction

Comment 8 Caolan McNamara 2015-12-15 13:46:51 UTC
I'll just bodge this to work for now. Still unsure what the core reason actually is.

Comment 9 Fedora Update System 2015-12-20 20:46:00 UTC
libreoffice-5.0.4.2-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-98c92e275f

Comment 10 Fedora Update System 2015-12-23 00:11:18 UTC
libreoffice-5.0.4.2-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-98c92e275f

Comment 11 Fedora Update System 2015-12-25 00:24:59 UTC
libreoffice-5.0.4.2-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Jan Vlug 2015-12-26 11:38:45 UTC
*** Bug 1293023 has been marked as a duplicate of this bug. ***