Bug 48707 - FILESAVE overline automatic color incorrect in pdf
Summary: FILESAVE overline automatic color incorrect in pdf
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
3.3.3 release
Hardware: All All
: medium normal
Assignee: ⁨خالد حسني⁩
URL:
Whiteboard: target:24.2.0 target:7.6.0.0.beta2 ta...
Keywords:
: 141134 154395 (view as bug list)
Depends on:
Blocks: PDF-Export Automatic-Color
  Show dependency treegraph
 
Reported: 2012-04-14 17:47 UTC by Chris Peñalver
Modified: 2023-10-20 21:36 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Problem with overline after pdf-export (152.15 KB, image/png)
2015-05-01 07:02 UTC, Markus Schelbert
Details
Source (8.81 KB, application/vnd.oasis.opendocument.text)
2021-05-08 03:34 UTC, MT
Details
pdf (7.15 KB, application/pdf)
2021-05-08 03:35 UTC, MT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Peñalver 2012-04-14 17:47:46 UTC
Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/819796

1) lsb_release -rd
Description:	Ubuntu precise (development branch)
Release:	12.04

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

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

cd ~/Desktop && wget -c https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/819796/+attachment/2251624/+files/overline%20color%20test.odt -O test.odt && lowriter -nologo test.odt

File -> Export as PDF -> Export button and open in Adobe Reader is the overline above B remains red.

4) What happens is it is black.

WORKAROUND: Highlight B -> Secondary click -> click character... -> Font Effects tab -> change Overline color from Automatic to Light red -> OK button
Comment 1 retired 2014-05-04 12:46:19 UTC
Hi Christopher, I do not understand the reproduce steps of this bug.

Is this bug still valid / reproducible with the latest LO release?  Currently 4.2.3: http://www.libreoffice.org/download/libreoffice-fresh/

Please also try resetting your user profile and let us know if that helps: https://wiki.documentfoundation.org/UserProfile

Should this be still reproducible for you with the latest LO release please set this bug back to UNCONFIRMED. Should this issue be solved set it to WORKSFORME. In that case please attach a test file with which this can easily be reproduced. Thanks :)

Setting to NEEDINFO until more detail is provided.
Comment 2 Chris Peñalver 2014-05-04 16:33:30 UTC
Foss:

>"Hi Christopher, I do not understand the reproduce steps of this bug."

If you don't understand the click-for-click reproduction steps provided in the Description, then you shouldn't toggle the Status of this bug.

>"Is this bug still valid / reproducible with the latest LO release?  Currently 4.2.3: http://www.libreoffice.org/download/libreoffice-fresh/"

As the reproduction steps are trivial to follow, did you try this? Despite this, reproducible in:
Microsoft Windows Vista Business x86 6.0.6002 Service Pack 2 Build 6002
Version: 4.3.0.0.alpha1+
Build ID: a3c00ee3c7b3b0fbcde32baeb7023c7e8526b908
TinderBox: Win-x86@47-TDF, Branch:MASTER, Time: 2014-04-28_07:22:55
 
>"Please also try resetting your user profile and let us know if that helps: https://wiki.documentfoundation.org/UserProfile"

I don't ever modify my profile so that is silly to do here.

>"In that case please attach a test file with which this can easily be reproduced."

Please read the Description for the attachment.
Comment 3 Markus Schelbert 2015-05-01 07:02:06 UTC
Created attachment 115230 [details]
Problem with overline after pdf-export
Comment 4 Markus Schelbert 2015-05-01 07:08:04 UTC
Hi 

I have the same Problem and maked a screenshot. the overline is only black in the pdf-export, when no space exists between the different charformats. See the blue arrows in the attachment. if the overline is seperated with whitespaces or return, the problem doesn't exist.

msg132e
Comment 5 Xisco Faulí 2016-04-27 13:40:25 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-05-22 13:39:20 UTC Comment hidden (obsolete)
Comment 7 Roman Kuznetsov 2018-10-07 10:54:01 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2019-10-08 02:27:52 UTC Comment hidden (obsolete)
Comment 9 Patrick Charlot 2020-09-27 19:42:00 UTC Comment hidden (obsolete)
Comment 10 MT 2021-05-08 03:34:57 UTC
Created attachment 171776 [details]
Source

The overline is black, as expected.
Comment 11 MT 2021-05-08 03:35:40 UTC
Created attachment 171777 [details]
pdf

The overline is red!
Comment 12 MT 2021-05-08 03:40:07 UTC
Here is a table with red borders. The following text has an overline. The colour of the overline in the pdf (not in the odt) follows the colour of the table borders, which can't really be the intended behaviour.

Tested on libreoffice 7.1.2.2 (debian) and linreoffice 6.1.5.2 (debian).
Comment 13 QA Administrators 2023-05-09 03:16:41 UTC Comment hidden (obsolete)
Comment 14 ⁨خالد حسني⁩ 2023-07-03 12:38:10 UTC
*** Bug 154395 has been marked as a duplicate of this bug. ***
Comment 15 Commit Notification 2023-07-03 15:35:47 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/13c4456ca382a92b93395db367ef8edb27a349fa

tdf#48707: Explicitly set overline color in PDF export

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 16 Commit Notification 2023-07-03 18:49:04 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/02243bc209f70a52214e15268ff02c6209c71146

tdf#48707: Explicitly set overline color in PDF export

It will be available in 7.6.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 17 Commit Notification 2023-07-04 08:38:31 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/1f9087b8da6588239a4b655f2dc94d48817569a5

tdf#48707: Explicitly set overline color in PDF export

It will be available in 7.5.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 18 ⁨خالد حسني⁩ 2023-10-20 18:15:04 UTC
*** Bug 141134 has been marked as a duplicate of this bug. ***