Bug 83248

Summary: PRINTING: "Single-line" text box always printed in black
Product: LibreOffice Reporter: Mohamed-Ali BEN MANSOUR <medalibenmansour>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: arnaud.versini, dardour.soufiane, guilleron29, jorendc
Version: 3.5.2 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: Problem when printing "Single-line" text box
Printed result
Drawing document with textfield
Printed drawing document

Description Mohamed-Ali BEN MANSOUR 2014-08-29 13:01:39 UTC
Problem description: 
When you choose a font color for a text box having "Text type" setted to "Single-line", we always have black color in output for the printed document.

Steps to reproduce:
1. Activate the design mode.
2. Add a text box.
3. Insert a some text.
4. Choose a background color (green for example).
5. Choose a font color for the inserted text (white for example)
6. Define the "Text type" property as "Single-line".
7. File -> Print

Current behavior:
On the preview window, the font color is black for the text consided as a "Single-line".

Important: This bug does not appear when the "Text type" is setted to "Multi-line".

Expected behavior:
The font color is previewed and printed as it was defined.
              
Operating System: All
Version: 4.4.0.0.alpha0+ Master
Comment 1 Joel Madero 2014-08-29 18:27:32 UTC
Please don't just add QA members so that you can get your bug triaged quickly. Only add if (1) it's a really really serious bug (this is not), or (2) if you have talked to someone in the chat or email and they have told you to do so. Also if cc'ing members - please leave a comment why. Sorry for being blunt but we don't want to encourage people just cc'ing everyone they can think of - I literally get hundreds of emails a day and am cc'ed on thousands of FDO bugs....
Comment 2 Joel Madero 2014-08-30 06:34:54 UTC
Can't confirm on 4.3.1.2 release - if it exists in 4.4 it's a recent regression.

at Mohamed - please attach a document so that we don't have to recreate from scratch every time. Marking as NEEDINFO - once you attach a document set the bug to UNCONFIRMED. Keep in mind the stretch on our teams time - the more information you provide (and test documents) the easier it is for everyone involved.


Thanks!
Comment 3 Mohamed-Ali BEN MANSOUR 2014-09-01 08:50:48 UTC
Created attachment 105540 [details]
Problem when printing "Single-line" text box
Comment 4 Mohamed-Ali BEN MANSOUR 2014-09-01 08:53:26 UTC
@Joel: Sorry for cc'ing the bug:
- Tested in 3.x and 4.x => The issue is there (does not seem to be a regression)
- Test document attached.
Comment 5 Mohamed-Ali BEN MANSOUR 2014-09-19 10:08:39 UTC
Can someone confirm the bug ?
Comment 6 Mohamed-Ali BEN MANSOUR 2014-09-19 14:27:00 UTC
Any ideas about the part of the code responsible of the bug will be welcome!
Thanks in advance
Comment 7 Arnaud Versini 2014-09-19 18:10:58 UTC
Confirmed on OpenSuse factory and LibreOffice and LibreOffice 4.3.1.2 .

Chaning version according to this test.
Comment 8 Jacques Guilleron 2014-09-19 18:21:35 UTC
Hi Mohamed-Ali,

I confirm with LO 4.4.0.0.alpha0+
Build ID: 5aeb852efcabdd51545d5d41c92f4bf3cef1d663
TinderBox: Win-x86@39, Branch:master, Time: 2014-09-08_07:01:57
and Windows 7 Home Premium.

Several versions down to LO 3.5.3.2 showed the same behaviour.

Those text box properties are available only if you copy and paste the whole text in a new document. 
But change from Single line to Multi lines make this color issue.

Regards,

Jacques
Comment 9 Arnaud Versini 2014-09-19 18:53:07 UTC
Hi Jacques,

Please keep the oldest one version, not the newest, on the bug report, so it's 3.5.2 with your comment.

Thanks :-)
Comment 10 Soufiane 2015-01-15 15:17:02 UTC
Hello,
is there any patch to resolve this bug on 4.3.x ?

Thanks.
Comment 11 Arnaud Versini 2015-01-15 18:13:29 UTC
Hi,

We are all waiting a patch from Capgemini ;-)

Thanks
Comment 12 kujiu 2015-01-15 18:36:50 UTC
I'm also waiting a patch. Capgemini can do this ? That's a great news if it's true !
Comment 13 Véronique Fritière 2015-01-15 19:43:47 UTC
I'm also waiting for a patch. Can Capgemini be of help for that? Many thanks in advance.
Sunny regards,
Comment 14 Arnaud Versini 2015-01-15 20:04:39 UTC
Created attachment 112313 [details]
Printed result
Comment 15 Arnaud Versini 2015-01-15 20:19:57 UTC
This bug is not related to Writer, same behavior in Draw.
Comment 16 Arnaud Versini 2015-01-15 20:21:42 UTC
Created attachment 112314 [details]
Drawing document with textfield
Comment 17 Arnaud Versini 2015-01-15 20:22:05 UTC
Created attachment 112315 [details]
Printed drawing document
Comment 18 Arnaud Versini 2015-01-15 21:11:42 UTC
It seems there is an attribute in forms/source/inc/FormComponent.hxx named m_nOriginalTextLineColor and in write only (only constructor)
Comment 19 Arnaud Versini 2015-01-15 22:01:46 UTC
Same issue with Numeric Field

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.