CAUCA-9-1-1 / survip

SURVI-Prevention Desktop
2 stars 3 forks source link

Printout of PDF take only half of the page (785 rue couvent, waterville) #481

Closed jocelyncardinal closed 5 years ago

jocelyncardinal commented 5 years ago

Describe the bug Sometime the printout of PDF in not properly done. The problem occurs with the inspection "(785 rue couvent, Waterville)" with Patric Giguere as user (pass=ereugig1234)

See the screenshot for details

Screenshots Log ... Capture d’écran 2019-02-28 à 16.19.38.png

Generate PDF... Capture d’écran 2019-02-28 à 16.19.14.png

Here the result ... Capture d’écran 2019-02-28 à 16.18.17.png

jocelyncardinal commented 5 years ago

The problem is probably related to the fact that images does not print in the report. We added two anomalies with images in that report (images don't appear - issue #463). When a remove the section anomalie from the report the print out is OK

Capture d’écran 2019-02-28 à 16.39.17.png

jocelyncardinal commented 5 years ago

Additional testing with table containing the image ...

One table without image (test1) and the other one containing an image (test2) ...

Capture d’écran 2019-03-04 à 11.01.30.png

We see that the problem is related to the fact that the width of the images is huge (even is the image don't print don't appear - issue #463).

Capture d’écran 2019-03-04 à 11.01.54.png

I renamed the report "... (issue 481)" for convenience ...

Capture d’écran 2019-03-04 à 11.04.59.png

Hope it helps :)

iamkinetic commented 5 years ago

À vérifier si ce problème existe encore avec la correction pour les images avant de trop mettre de temps là dessus.

iamkinetic commented 5 years ago

@jocelyncardinal est-ce un point qu'on doit garder ouvert ou c'est correct finalement?

jocelyncardinal commented 5 years ago

Le problème ne semble plus se reproduire donc je crois qu'on peut fermer ce point