Weird bug

Stimulsoft Reports.JS discussion
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Weird bug

Post by jpgb »

I´m displaying the report in a viewer in a modal form without any problem.

But sometimes if I wait a while with the viewer oppened, without doing anything, the labels and textboxes in the report suddently get a wrong style (like centered without any formating).

If i change zoom it displays correctly again...

Any clue about whats happening?

Thanks,
JB
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Weird bug

Post by Alex K. »

Hello,

Please clarify which version are you use?
Also, please check the last release.

Thank you.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Weird bug

Post by jpgb »

Version 2018.1

Will try to update

Thanks
JB
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Weird bug

Post by Andrew »

Okay,

Please let us know about the result.

Thank you.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Weird bug

Post by jpgb »

Upgraded, but the problem persists.

looks like after awhile every text on a label and textbox gets centered and without any format style

I´m going to do some more tests.

JB
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Weird bug

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please send us a sample project which reproduces the issue for analysis.

Thank you.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Weird bug

Post by jpgb »

It´s a single page application. I´ve narrowed it down doing the following steps:

1. I load a modal with the viewer, and load a report with no problems at the first time.

2. then the modal is hidden, i and if i load it again with a diferent report a second or third time it initially displays well, but after a few seconds the report labels and text get all centered

JB
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Weird bug

Post by HighAley »

Hello, JB.

We have some ideas about this issue.
Could you make some tests for us?
Please, try to add this line:

Code: Select all

viewer.jsObject.initAutoUpdateCache = function() { };
If it does not help, try to add this code:

Code: Select all

viewer.jsObject.options.server.allowAutoUpdateCache = false;
Please, let us know about results.

Thank you.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Weird bug

Post by jpgb »

I will be doing some more tests but i think the first line of code solved the issue!!!

Thanks
JB
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Weird bug

Post by Andrew »

Hello,

Okay. Let us know about the result.
Post Reply