Bug 1037965

Summary: Form modeler canvas has always the same size - cant see/edit more then 18 fields stacked vertically
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Form ModelerAssignee: Pere Fernàndez <pere.fernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Livora <tlivora>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: pzapataf
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:10:06 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:
Attachments:
Description Flags
problem with fixed size of canvas none

Description Jan Hrcek 2013-12-04 07:24:19 UTC
Created attachment 832438 [details]
problem with fixed size of canvas

Description of problem:
When you add 18 or more form fields to the form you are unable to edit properties of fields below 18th field, because the canvas has always fixed size (see screenshot attached). Even saving and re-opening the form does not help.

I believe it is reasonable to enable some sort of automatic canvas resizing as more fields are added, so that is would be possible to scoll down to the very bottom of the canvas, to see all the fields.

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

How reproducible:
Always

Steps to Reproduce:
1. Open new form in form modeler and add 20 or more fields (e.g. by going to Fields by type and continually adding one type of field)

Actual results:
The lowest fields are not accessible, so you cannot for example edit their properties or change their layout etc.

Expected results:
Form canvas should be resized automatically as more fields are added.

Comment 1 Jan Hrcek 2013-12-04 07:43:41 UTC
I just found out, that in Google Chrome it works correctly - this again looks like one of those Firefox specific javascript issues. In my case I'm able to reproduce it in 100% of cases on Firefox 17.

Comment 2 Pere Fernàndez 2013-12-09 11:44:40 UTC
Fixed editor resizing to resize the canvas for large forms.

Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/4d955055768145468ff09ac98db6f12aefa6924a

Commit (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/8e53c876925d845f2d6ccc3a9449cc062b89cd3b

Comment 3 Jan Hrcek 2013-12-30 06:43:04 UTC
Automatic form canvas resizing now works correctly. Verified with BPMS 6.0.0 ER6