Project

General

Profile

Defect #391

Scrolling in Jasper viewer

Added by Harjo Kompagnie over 12 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
11/22/2011
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

When the jasper-viewer pops-up and you scroll downwards or upwards, with the scroll button of your mouse, than this goes, REALLY sloooooowwwwww.......

Can this be looked at? or can this be fixed?


Files

History

#1

Updated by Andrei Costache about 10 years ago

  • Component version set to Any

Hi Harjo,

I know this is a late answer, but do you still experience slooow scrolling?
If yes, I am not sure we have much control, as we are using the Jasper viewer mainly; still, I think you can try setting a configuration property net.sf.jasperreports.viewer.render.buffer.max.size as explained here: http://community.jaspersoft.com/questions/527605/jrviewer-very-slow-scroll, though this is more related to images I guess.
Also does the performance differ with respect to version 3.x versus 4.x of the plugin?

Regards,
Andrei

#2

Updated by Harjo Kompagnie about 10 years ago

HI Andrei,

yes the slow scrolling is the same in versus 4.x of the plugin.
We indeed use background image, (letter logo A4).

If we remove this image, scrolling is fine & quick! :-)
How / where do I set this property??

#3

Updated by Andrei Costache about 10 years ago

Harjo Kompagnie wrote:

HI Andrei,

yes the slow scrolling is the same in versus 4.x of the plugin.
We indeed use background image, (letter logo A4).

If we remove this image, scrolling is fine & quick! :-)
How / where do I set this property??

Hi Harjo,

I think you can just add it to your report, nested after the <jasperReport...> element, like this:
<jasperReports...>
<property name="net.sf.jasperreports.viewer.render.buffer.max.size" value="2M"/>
..

If that does not work, you can try using ireport, like described here: http://community.jaspersoft.com/wiki/properties-how-use-additional-properties-build-enhanced-reports.

Hope this helps. (sorry for the late reply, I have some problem with getting case updates from ServoyForge :) will fix it ).

Andrei

#4

Updated by Harjo Kompagnie about 10 years ago

Me too, I don't receive notifications also,
will try it monday morning!

#5

Updated by Harjo Kompagnie about 10 years ago

Hi Andrei,

i added the line by hand (see attach)
also the property is shown in ireport under the report properties.
But unfortunately it does not work!. Scrolling with the mouse (with an A4 image logo in the background) is terrible slow in the viewer.

#6

Updated by Andrei Costache about 10 years ago

Harjo Kompagnie wrote:

Hi Andrei,

i added the line by hand (see attach)
also the property is shown in ireport under the report properties.
But unfortunately it does not work!. Scrolling with the mouse (with an A4 image logo in the background) is terrible slow in the viewer.

Hi Harjo,
Can you try to set the value of that property to something like: 10000000000 :).
Let me know if this works (better).

#7

Updated by Harjo Kompagnie about 10 years ago

Hi Andrei,

this time I got a mail notification of your reply! so that's good! :-)
I'm just back from external work. Tommorow I'm back at the office and will try your suggestion, and will keep you updated!

#8

Updated by Harjo Kompagnie about 10 years ago

HI Andrei, I just changed the line in my report to: <property name="net.sf.jasperreports.viewer.render.buffer.max.size" value="10000000000"/>

but no change, scrolling with an image background is still VERY slow. If I scroll once, it scrolls 15 * 1px to the bottom, and every 1px takes about a second! so in total, 15 seconds.

#9

Updated by Andrei Costache about 10 years ago

Harjo Kompagnie wrote:

HI Andrei, I just changed the line in my report to: <property name="net.sf.jasperreports.viewer.render.buffer.max.size" value="10000000000"/>

but no change, scrolling with an image background is still VERY slow. If I scroll once, it scrolls 15 * 1px to the bottom, and every 1px takes about a second! so in total, 15 seconds.

Hi Harjo,

I am not sure what to say in this case; maybe when we go to a newer version of the jasperreports engine, this will be improved. Therefore, please keep an eye on https://www.servoyforge.net/issues/780. It's in progress currently :-). When this is ready, we'll try a test with that.

Regards,
Andrei

#10

Updated by Harjo Kompagnie over 9 years ago

did you already tested the slow scrolling (with image background) with the new version??

Also available in: Atom PDF