Category: | Bug report |
Priority: | Urgent |
Status: | New |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
Text fields are not aligned properly when their content overflows to the next page.
The properties are set as follows:
Details band:
Split Type = Stretch
Text Field:
Stretch type = Relative to band height
v5.6.0
10 Comments:
Hi,
Can we have the JRXML?
Note that if this proves to be a bug in 5.6.0, you would have to upgrade to latest JR, if you want to benefit from any fix we'll be providing.
So I suggest you try more recent versions of JR. We are not going to fix 5.6.0.
Thanks,
Teodor
Attached is the jrxml file.
Hi.
Same bug in 6.1.1 and 6.3.0
Hi,
Indeed, this problem appeared when we introduced a property to force text fields to consume all available space at the bottom of the page and thus prevent other small elements starting there.
We are going to fix this for the next release, but in the meantime, if you want to have the cells aligned at the bottom, you can try set this property, either globally, or per report:
net.sf.jasperreports.consume.space.on.overflow=false
If you do so, there will be a small gap at the bottom of the table, right above the column/page footer, but at least the cells would be aligned with each other. This is how the engine worked before version 4.8.0 when the property was introduced with its default value on true.
I hope this helps.
Teodor
Hi,
This is now fixed for the upcoming release.
Thanks,
Teodor
net.sf.jasperreports.consume.space.on.overflow=false does not help
true/false - no difference
The property works only if set globally.
It has no effect when set per report.
Hi,
Yes, you are right, the property was not read from report level. But I have now modified the code and in the upcoming release it will also work at report level.
Thanks,
Teodor
I am using jaspersoft 6.12.2 and i faced exactly the same issue like the above shown in picture. i tired the <property name="net.sf.jasperreports.consume.space.on.overflow" value="false"/> but it did not work. @Plotnic how you solved this issue? how can we set the property globally? i have attached the .jrxml file bellow.
any help appreciated!