bug with report display

Stimulsoft Reports.Flex discussion
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

bug with report display

Post by brianj774 »

I've seen this a few times before, but hadn't posted a question about it until now.

Following are two images. The first is a screenshot of my receipt report as presented on the screen. The second is an image of the hard copy printout from the exact same report (clicking on the print button you see in the corner of the first image).

As you can see, just to the left of the subtotal, fees, etc summary, is a list of comments. On screen, in the preview, its only showing 1 of the two comments "All donations are full tax-deductible. Call 612-281-1200 for details". On the printed version, the first comment is shown, but also the second as well, which reads "Thank you for your philanthropy!".

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

bug with report display

Post by HighAley »

Hello.
brianj774 wrote:I've seen this a few times before, but hadn't posted a question about it until now.

Following are two images. The first is a screenshot of my receipt report as presented on the screen. The second is an image of the hard copy printout from the exact same report (clicking on the print button you see in the corner of the first image).

As you can see, just to the left of the subtotal, fees, etc summary, is a list of comments. On screen, in the preview, its only showing 1 of the two comments "All donations are full tax-deductible. Call 612-281-1200 for details". On the printed version, the first comment is shown, but also the second as well, which reads "Thank you for your philanthropy!".
Do you need the second comment?
Please, send us your report template for analysis.

Thank you.
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

bug with report display

Post by brianj774 »

Yes, we need the additional comment.

The item in question is just a single textbox with wordwrap and html enabled. On the server side of things, we aggregate all the comments into a single string, separated with 's. Again, the behavior I'm seeing is that SOME of the text after a wrap doesn't always show up. In this particular example, it happens to be an entire 'comment', but in other times, I've seen it just lose a few words off the end. I can't always make it happen, but it does happen quite often.

http://dl.dropbox.com/u/495070/shared/s ... Report.mrt
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

bug with report display

Post by HighAley »

Hello.
brianj774 wrote:Yes, we need the additional comment.

The item in question is just a single textbox with wordwrap and html enabled. On the server side of things, we aggregate all the comments into a single string, separated with 's. Again, the behavior I'm seeing is that SOME of the text after a wrap doesn't always show up. In this particular example, it happens to be an entire 'comment', but in other times, I've seen it just lose a few words off the end. I can't always make it happen, but it does happen quite often.
We need to see your working project to make any advice. In what moment do you add this comment? How do you do it.

Could you send us your project to support@stimulsoft.com ?

Thank you.
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

bug with report display

Post by brianj774 »

I cannot send the project.

Its just a report with a dataset. I'm not doing anything fancy. I just call a stored procedure, get the data, convert the data object into a stimulsoft dataset/datatable, attach it to the report object and display the report. The first thing that stimulsoft knows anything about it, it's just a plain old string...

As I've said, this isn't the first time I've encountered it.

Here's a copy of the dataset which should help some.

The column in question is "ReceiptCommentItem", and its value is :

Code: Select all

All donations are fully tax-deductible.  Call 612-281-1200 for details.Thank you for your philanthopy!
PS. You can find one of my other posts on the forums here for the function which converts my data to a stimulsoft datatable...if that'll be helpful.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

bug with report display

Post by Ivan »

Hello,

Maybe the problem is in your data.
The ReceiptCommentItem field in the XML file contain the following data:

Code: Select all

All donations are fully tax-deductible. Call 612-281-1200 for details.  Thank you for your philanthopy!
but according to the XML standard should contain the following data:

Code: Select all

All donations are fully tax-deductible. Call 612-281-1200 for details. <br> Thank you for your philanthopy!
Therefore, the text after can not be displayed
Similarly also in the ReceiptCommentOrder field.

Thank you.
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

bug with report display

Post by brianj774 »

Sorry, I'm afraid that doesn't add up.

#1, it shows up just fine on the printed report. I want to know why it doesn't render on screen.
#2, I do not USE xml. I just provided that for your benefit. I expect the xml export from SqlDbx was kind enough to encode it for us.

Lets get back to the real issue

--The text renders perfectly on paper, but not on screen.
--The primary factors that seem to have an impact are:
----Sufficiently large number of characters to render
----TextBox with HTML and WordWrap enabled
----Dimensions of above text box

Thanks, I'm looking forward to being able to resolve this issue shortly.

(EDIT: I've constructed a scenario in which you should be able to see this happen on your end. http://dl.dropbox.com/u/495070/shared/s ... 3/work.zip
I've created a report with a lot of different large text strings to render. I then fiddled with them until I found one that misbehaved. You can see in the screenRender.png file how the top-left item is cut off compared to the other two top items. All three text boxes are using the exact same data, the only difference between them is the various attributes (width and "allow HTML tags). Additionally, you can see in "image.jpg" which is a camera shot of the printed page, how the top-left item is no longer cut off, as in the very first images.

With this new and additional information, I expect you will now be able to identify and resolve this issue.)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

bug with report display

Post by HighAley »

Hello.

Did you send us a right file? We don't see the text box you are talking about.

Thank you.
Attachments
1680.screenRender2.png
1680.screenRender2.png (29.59 KiB) Viewed 5582 times
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

bug with report display

Post by brianj774 »

Hmm...how odd. I see the wrong file is in the zip...but the zip timestamp is older than the mrt timestamp....?

Oh well, here we go again...try THIS version...

http://dl.dropbox.com/u/495070/shared/s ... 3/work.zip
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

bug with report display

Post by HighAley »

Hello.
brianj774 wrote:Hmm...how odd. I see the wrong file is in the zip...but the zip timestamp is older than the mrt timestamp....?

Oh well, here we go again...try THIS version...

http://dl.dropbox.com/u/495070/shared/s ... 3/work.zip
We checked your report on our last prerelease build and there is no such problem.

Please, try our latest prerelease build.

Thank you.
Locked