Bug 73139 - PRINTING: Content of Tablecontrols isn't printed, when the whole Fonts are default (black) text color
Summary: PRINTING: Content of Tablecontrols isn't printed, when the whole Fonts are de...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
3.4.0 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.3.0 target:7.2.3
Keywords: preBibisect, regression
Depends on:
Blocks: Database-Forms
  Show dependency treegraph
 
Reported: 2013-12-30 07:56 UTC by Robert Großkopf
Modified: 2021-09-29 15:57 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Database with three forms. Print the forms into files and have a look at the tablecontrols. (35.46 KB, application/vnd.oasis.opendocument.base)
2013-12-30 07:56 UTC, Robert Großkopf
Details
Printout with LO 4.1.4.2 - look at the content of the tablecontrol (22.48 KB, application/pdf)
2013-12-30 07:59 UTC, Robert Großkopf
Details
Printout with LO 3.3.4 - content of the tablecontrol is shown completely (64.37 KB, application/postscript)
2013-12-30 08:00 UTC, Robert Großkopf
Details
Printout with LO 4.1.4.2 - red formatted currency-values. Tablecontrol shows content beginning with these values. (22.50 KB, application/pdf)
2013-12-30 08:02 UTC, Robert Großkopf
Details
Properties of the *.pdf-files, as I could see ith with the file-manager. (85.78 KB, application/pdf)
2013-12-30 08:04 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2013-12-30 07:56:41 UTC
Created attachment 91318 [details]
Database with three forms. Print the forms into files and have a look at the tablecontrols.

Open the form "Transactions_Currency_black" of the attached database.
Print the content which is shown in a *.pdf-file.
The content of the tablecontrol isn't printed except the headers of the tablecontrol and the content of the check-boxes.

Now open the form "Transactins_Currency_negativ_red".
Print it in a file.
The content is shown, beginning with the currencyfield, which shows a negative value. The values before this where lost.

If you try the same with "Transactins_Currency_negativ_red_start", the whole content will be shown.

The printing of all forms worked in LO 3.3.4. It first fails in LO 3.4.0beta1. One hint: The printing into a file shows beginning with LO 3.4.0beta1, in the properties of the file the content of the form as "Title".
Comment 1 Robert Großkopf 2013-12-30 07:59:56 UTC
Created attachment 91319 [details]
Printout with LO 4.1.4.2 - look at the content of the tablecontrol
Comment 2 Robert Großkopf 2013-12-30 08:00:49 UTC
Created attachment 91320 [details]
Printout with LO 3.3.4 - content of the tablecontrol is shown completely
Comment 3 Robert Großkopf 2013-12-30 08:02:53 UTC
Created attachment 91321 [details]
Printout with LO 4.1.4.2 - red formatted currency-values. Tablecontrol shows content beginning with these values.
Comment 4 Robert Großkopf 2013-12-30 08:04:47 UTC
Created attachment 91322 [details]
Properties of the *.pdf-files, as I could see ith with the file-manager.
Comment 5 Owen Genat (retired) 2014-07-28 08:38:29 UTC
Under GNU/Linux x86_64 using v4.3.0.3 Build ID: 08ebe52789a201dd7d38ef653ef7a48925e7f9f7 these are the results from following the instructions in comment 0:

- Form "Transactions_Currency_black" prints to PDF as indicated i.e., without any content showing in the Budget 1, Budget 2, Budget 3, Amount, or Account columns (despite values being shown in these fields in the form).

- Form "Transactions_Currency_negativ_red" prints to PDF as indicated i.e., without any content showing in first row for the Budget 1, Budget 2, and Budget 3 columns (despite values being shown in these fields in the form).

Confirmed. Status set to NEW.
Comment 6 Alex Thurgood 2015-01-03 17:38:08 UTC Comment hidden (no-value)
Comment 7 Robinson Tryon (qubit) 2015-12-14 05:40:03 UTC Comment hidden (obsolete)
Comment 8 Jean-Baptiste Faure 2016-04-12 04:48:12 UTC
Still reproducible with current master under Ubuntu 15.10 x86-64.

Best regards. JBF
Comment 9 Saren Tasciyan 2016-06-12 21:56:19 UTC
This applies to 5.0.6 and 5.1 but not 4.4.7 on Ubuntu 14.04. I could not run 3.3 on my system so I cannot check it.
Comment 10 QA Administrators 2017-09-01 11:15:20 UTC Comment hidden (obsolete)
Comment 11 Robert Großkopf 2017-09-01 14:50:56 UTC
Bug still exists in LO 5.4.1.2 and 
Version: 6.0.0.0.alpha0+
Build ID: 3b33f018713247dd511d232f8efdc7ce46de48f6
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-08-31_23:06:56
Locale: de-DE (de_DE.UTF-8); Calc: group

It must be a regression - see description. Fails first with LO 3.4.0beta1.
Comment 12 QA Administrators 2018-09-02 02:49:53 UTC Comment hidden (obsolete)
Comment 13 Robert Großkopf 2018-09-02 06:48:18 UTC
Bug still exists in LO Version: 6.1.0.3
Build-ID: efb621ed25068d70781dc026f7e9c5187a4decd1
OpenSUSE 15, 64bit rpm Linux.
Comment 14 QA Administrators 2021-08-28 03:53:13 UTC Comment hidden (obsolete)
Comment 15 Robert Großkopf 2021-08-28 06:13:01 UTC
Bug still exists in 
Version: 7.0.5.2
Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a
CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Couldn't test it with a newer version, because LO crashes immediately when trying to print a form. Will write a new bug for this.
Comment 16 Robert Großkopf 2021-08-28 06:21:28 UTC
Couldn't be tested in LO 7.1 and newer, because printing of forms crashes whole LO. See bug 144139.
Comment 17 Caolán McNamara 2021-09-29 11:31:23 UTC
FWIW I see the same problem affects AOO 4.1.10
Comment 18 Caolán McNamara 2021-09-29 11:35:17 UTC
as far as I can see no explicit font color is set so it's rendered with what ever color the outputdevice starts with, and for the pdf export the default unset color is transparent
Comment 19 Commit Notification 2021-09-29 12:42:04 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2db427f9e098439ef68ce309bd8b440160ff37a0

Resolves: tdf#73139 text defaulted to transparent in pdf export

It will be available in 7.3.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 20 Caolán McNamara 2021-09-29 12:45:05 UTC
done in trunk, backport to 7-2 in gerrit
Comment 21 Commit Notification 2021-09-29 15:57:20 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/3f9f935eed6f6110525aab48c72c3ba910691f32

Resolves: tdf#73139 text defaulted to transparent in pdf export

It will be available in 7.2.3.

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.