Issue 80561 - Image fields in report designer badly broken
Summary: Image fields in report designer badly broken
Status: CLOSED DUPLICATE of issue 81126
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: recent-trunk
Hardware: All Windows 2000
: P2 Trivial (vote)
Target Milestone: ---
Assignee: dbaneedsconfirm
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-10 08:47 UTC by ingenstans
Modified: 2013-08-07 15:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ingenstans 2007-08-10 08:47:14 UTC
I have been trying to print out a report with images, derived from a database 
containing about 30 500x500 px thumbnails. The thumbnails, which display fine 
in forms, are held in a blob field. I want them to print at about 5cm by 5 cm

So far I have had three different failure modes. 

(1) The images appear in the report, at their proper height but squashed to 
five pixels wide
(2) The images appear in the report, at their proper height but squashed to 
only half their width.

Trying again, I find a new bug

(3) Nothing prints whatever, because the image control "forgets" its binding to 
the image_thumbnail field

I have marked all these as one bug even though they are three different failure 
modes bacause I cannot predict which outcome I will get for any particular 
attempt to make a report. 

Taken together, thougk I think this is a showstopper. At present the image 
control simply will not reproduce images held as blobs in the database.

Steps to reproduce:

1) set up a simple database containing a couple of text fields and a blob image 
data field.

2) attempt to generate a printed report with images drawn from the database
Comment 1 marc.neumann 2007-08-15 09:47:06 UTC
reduce prio to p2 -> data lost
Comment 2 Frank Schönheit 2007-08-22 07:53:51 UTC
http://qa.openoffice.org/issue_handling/basic_rules.html#one_per_issue

Sorry, Andrew, there are good reasons for this policy. Bugs with different
manifestations are most likely different bugs to be fixed/handled by different
people, which cannot be captured by one single IssueZilla record.

Also, I cannot reproduce the problems you describe with OOG680m2. I do not doubt
you encounter them, but it seems you're doing something different than me.
That's why I *love* bug docs - small documents showing the problem. It abstracts
from all those implicit assumptions which we all usually do. So, could you
please attach a document showing the problem?

(I could, however, reproduce two other problems when I tried reproducing this,
both seemingly related to image fields. Going to name the numbers here once I
submitted them.)
Comment 3 Frank Schönheit 2007-08-22 08:11:29 UTC
new issues encountered: issue 80924, issue 80925
Comment 4 ingenstans 2007-08-22 11:22:12 UTC
Frank, I'm sorry if I was angry when I filed this report. We're all indebted 
for your efforts over the years. I would file a bugdoc but the original 
database was quite large, and in any case corrupted. 


I had been trying to make a database for my wife's embroideries, with 
thumbnails of quite detailed jpegs of her work. The attempt to print out a 
report came after she had a quite unrelated crash and lost almost everything in 
the file. I couldn't file a bug report about that one because I wasn't there at 
the time, and her account wasn't coherent. In any case, her HSQL file was 
truncated from several megabytes to 500k and only the backups were recoverable. 
These were what wouldn't print. I will look to see if any have been preserved
 ... OK. I have a 15MB odb file on the backup server. What should I do with it? 
It's too big to attach here, but I can put it somewhere you can reach by FTP if 
you would like.

I have since switched the backend to MySQL, which ought to be more stable, but 
she won't touch it, believing now that nothing will work reliably...
Comment 5 Frank Schönheit 2007-08-22 11:30:57 UTC
I didn't read you as being angry, no problem here. I just pointed out that the
bug report was not ... ideal for further processing.

If you can put up the file somewhere, and send me the link by mail, I could have
a look. We still need to strip it down so we have a version to be attached here
(QA plus other involved engineers need to reproduce the issue, too), but I'm
willing to invest some time into this. If necessary, we should replace the
content with dummy data before doing so, of course.
Comment 6 ingenstans 2007-09-24 17:27:34 UTC
as agreed with Frank

*** This issue has been marked as a duplicate of 81126 ***
Comment 7 ingenstans 2007-09-24 17:28:50 UTC
as agreed with Frank
Comment 8 christoph.lukasiak 2007-10-23 08:53:31 UTC
close duplicate