Header in print mode, When the number of pages increases, the header size increases

Hello

I’m using {
“app_name”: “Dashboard”,
“app_version”: “101.2.1”,
“dhis2_version”: “2.41.3”,
“dhis2_revision”: “9c942a6”
}

When the number of pages increases, the header size increases.

Here are some screenshots and an illustrative PDF file.

I don’t know why the recent dhis2 update has been causing so many problems.

[Dashboard _ DHIS2-2.pdf|attachment](upload:// ubQFGqLBzG6PPE4x8XUt3ZGywhy.pdf) (221.6 KB)

1 Like

Hi @Eng.Ali_Hameed

Thanks for your posts and for sharing with the community. By default the Dashboard name (Title/heading) will appear in the first page seperately.

I checked out the PDF you shared and I don’t see an issue with the heading, so would you please like to clarify further?

Thank you!

1 Like

In the PDF, open page 19 and you’ll notice that the header size is larger than it was on the first few pages.

2 Likes

Hi @Eng.Ali_Hameed

Would you please double check from your side that we’re looking at the same PDF because it appears the same to me? Here’s a screenshot:

Thanks!

1 Like

Hi @Gassim

Yes, this is the file. When focusing on the header, it is smaller on the first pages than on the last pages.
I made a black line on the header size to clarify.

Thank you

1 Like

Hi @Gassim

This is another file I downloaded from (dhis2 play v2.41.3.1)
I named it test.
You will notice that the header is not equal between the first and last pages.

Thanks

[Dashboard _ DHIS2 from dhis2 play v2.41.3.1.pdf|attachment](upload://zm3GPRs6pCdaYa7BiSysHNgXbvS.pdf) (2.0 MB)
2 Likes

Hi @Eng.Ali_Hameed
Thanks for the clarification! Yes, I noticed that the top margin (heading space) is getting bigger and bigger. Would you kindly create a jira bug issue on jira.dhis2.org?

Update
--
I've created the ticket on your behalf, please watch to receive notifications.

Dashboard print PDF - top margin keeps getting bigger and bigger in each page - DHIS2-19524

Thanks!

1 Like