Bug 1216247 - Task Text in Business process are not correctly exported when using PNG and PDF formats
Summary: Task Text in Business process are not correctly exported when using PNG and P...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: DR1
: 6.2.0
Assignee: Tihomir Surdilovic
QA Contact: Jozef Marko
URL:
Whiteboard:
: 1229848 (view as bug list)
Depends On:
Blocks: 1226953 1229853
TreeView+ depends on / blocked
 
Reported: 2015-04-28 21:56 UTC by William Antônio
Modified: 2019-07-11 09:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1226953 (view as bug list)
Environment:
Last Closed: 2016-03-07 21:56:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Files and a screenshot of the process (31.79 KB, application/zip)
2015-04-28 21:56 UTC, William Antônio
no flags Details

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?


Note You need to log in before you can comment on or make changes to this bug.