Page 1 of 2
Weird bug
Posted: Tue Dec 26, 2017 5:27 pm
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
Re: Weird bug
Posted: Tue Dec 26, 2017 7:30 pm
by Alex K.
Hello,
Please clarify which version are you use?
Also, please check the last release.
Thank you.
Re: Weird bug
Posted: Wed Dec 27, 2017 9:50 pm
by jpgb
Version 2018.1
Will try to update
Thanks
JB
Re: Weird bug
Posted: Thu Dec 28, 2017 3:42 pm
by Andrew
Okay,
Please let us know about the result.
Thank you.
Re: Weird bug
Posted: Thu Dec 28, 2017 6:41 pm
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
Re: Weird bug
Posted: Wed Jan 03, 2018 6:59 am
by Alex K.
Hello,
We couldn't reproduce this bug.
Please send us a sample project which reproduces the issue for analysis.
Thank you.
Re: Weird bug
Posted: Wed Jan 03, 2018 2:16 pm
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
Re: Weird bug
Posted: Thu Jan 04, 2018 11:02 am
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.
Re: Weird bug
Posted: Thu Jan 04, 2018 6:21 pm
by jpgb
I will be doing some more tests but i think the first line of code solved the issue!!!
Thanks
JB
Re: Weird bug
Posted: Fri Jan 05, 2018 4:52 am
by Andrew
Hello,
Okay. Let us know about the result.