Created attachment 864574 [details] Steps to reproduce - video Description of problem: When problems panel is opened and new form modeler panel is then opened, it is not rendered fully and it looks that the graphic ends based on how high the Problems panel was resized. Observe the Form Modeler's behavior in the video attached. Version-Release number of selected component (if applicable): BPMS 6.0.1 ER1 How reproducible: Always Steps to Reproduce: 1. Open Project authoring perspective. 2. Do something to make Problems panel appear (e.g. create new work item, make some mistake in it and save it - as I do in the video) 3. Expand the problems panel 4. Create a new form in form modeler. Actual results: Form modeler is not rendered fully - only the part that was not covered by problems panel is visible. Even closing the problems panel does not help. Expected results: Form modeler should be rendered fully independent on whether the problems panel is opened or closed.
Could it be related to bz 1051103?
Jan, it definitely seems to be the same problem as in Bug 1051103. Try it yourself: you don't even need to switch perspective, just expand the problems panel upwards and then close & reopen the form modeler panel. You will see it is rendered only down to the problems panel, but not below. Also, it seems to be happening in all browsers. I just checked and the problem is the same in latest Firefox, in latest Google Chrome and also in Internet Explorer 11.
One additional thing comes to my mind that might be helpful. This bugzilla seems to be recent problem (didn't see it before) - might it not be caused by fix to Bug 1037965?
Fixed. The problem was due the height of the panel was set to a static value in pixels instead of using %. Commit in 6.0.x -> https://github.com/droolsjbpm/jbpm-form-modeler/commit/8cb655aaf997bd871e2d163f77e59ae37bc454ba Commit in master -> https://github.com/droolsjbpm/jbpm-form-modeler/commit/fcc365ac447bcfe55045ec0c9befa6d43df031b9
Form modeler appears collapsed opening a new form.
Created attachment 865753 [details] Collapsed form modeler
Pere, you are right, it's not working fine in FF :( Let me take a look at it.. thanks
Using height as 100% was not supported by FF. Anyway, adding a UF Page implies that our component is wrapped in a ScrollPanel, which do not support height in % values. So the solution is to implement the RequiresResize interface to allow resizing the component with the exact height pixels. Commit in master -> https://github.com/droolsjbpm/jbpm-form-modeler/commit/3c53f866f82f05cb26d2e0b145dff58c4c0b81d9 Commit in 6.0.x -> https://github.com/droolsjbpm/jbpm-form-modeler/commit/fb40cf6c8684947cd379f583b5ac0703a1d7ce50
Checked with the initial build of BPMS 6.0.1 ER2 and the issue is still present, still looks the same. I was using the latest firefox.
Restored changes that made the form editor resizable. Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/71b6d2d038de4d1f176529cf71d1cd2d784704ea Commit (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/ab5504bfa26ac459b2a5a2229090b07499da4769
This was cherry-picked into the 6.0.1.ER2 tag: https://github.com/jboss-integration/jbpm-form-modeler/commit/170a520
Ok, now it works correctly in all the browsers that had the issue. Verified with BPMS 6.0.1 ER2.