Bug 1216247

Summary: Task Text in Business process are not correctly exported when using PNG and PDF formats
Product: [Retired] JBoss BPMS Platform 6 Reporter: William Antônio <wsiqueir>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED CURRENTRELEASE QA Contact: Jozef Marko <jomarko>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: ajuricic, alazarot, kverlaen, mbaluch
Target Milestone: DR1   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1226953 (view as bug list) Environment:
Last Closed: 2016-03-07 21:56:37 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:
Bug Depends On:    
Bug Blocks: 1226953, 1229853    
Attachments:
Description Flags
Files and a screenshot of the process none

Description William Antônio 2015-04-28 21:56:18 UTC
Created attachment 1019903 [details]
Files and a screenshot of the process

Description of problem:

When we create a process in Process Designer, the texts are correctly displayed. If we export it to PDF or PNG, the text position is incorrectly shown.

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


How reproducible:
Always

Steps to Reproduce:
1. Create a process using the business central app;
2. Add a task to it and double click on it to add some text;
3. Export the process as PNG or PDF.

Actual results:

The text position is wrong, it is displaced and shown outside of the task rectangle;

Expected results:
The text image position should be correct.

Additional info:

Please find attached a sample PNG/PDF and a screenshot of the actual process.

Comment 5 Amana 2015-06-09 19:19:34 UTC
*** Bug 1229848 has been marked as a duplicate of this bug. ***

Comment 7 Tihomir Surdilovic 2015-06-30 20:19:12 UTC
Fix for now:

When exporting process to png/pdf all text in the process will be reduced to a smaller size to be accommodated into their nodes. 
This is done only during export of png/pdf and will not affect any other user interactions with the process.

master commit: https://github.com/droolsjbpm/jbpm-designer/commit/c744a2027

Comment 8 William Antônio 2015-07-14 23:11:22 UTC
Hello,

I would like to tell you about a workaround being used by our customer which is use svg:

* Open the SVG source of a process;
* Copy it to an empty file as a text and save as a .svg extension;
* Open it with some image viewer and the process should be correctly displayed.

Comment 9 Amana 2015-08-25 13:46:32 UTC
Hi all,

I am re-opening the cloned BZ[1] as the issue is still happening in Update 2. I have also attached a *.bpmn2 process for testings and a pdf.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1226953

Thanks!

Comment 10 Jozef Marko 2015-09-14 13:51:31 UTC
Hi Amana, I have imported process you mentioned in Comment 9 on 6.2.0.ER1 and export works fine for me. Text wasn't not aligned ideally but it was inside of node boundaries. Can you please confirm that customer is satisfied with behaviour on 6.2.0.ER1?