#12793·firefly-iii

v6.7: Printing Reports to PDF creates huge files (40 MB), blank first page and artefacts

Author: tofublockCreated Sep 16, 2026Updated Sep 17, 2026

Support guidelines

Use of AI

  • I'm a real person and wrote this bug without assistance from AI.

I've found a bug and checked that ...

Description

Printing a report to PDF creates huge files. Printing a 70 page report in Firefox in v6.7 results in a 42MB document. That same report used to render in a few hundred KB in v6.6.6 before I updated a few hours ago.

In my PDF, there are four 374×17836px images on every page, ~160 KB each. They look like the table frame rendered around the report. Additionally, the options card with the column tickboxes prints and there is a blank first page on every report, neither of which happened in v6.6.6,

Injecting the following CSS into the page with the Stylus browser extension fixes the biggest problems I described and brings the PDF back down to 1.5MB:

@media print {
  .no-print { display: none !important; }
  * { box-shadow: none !important; }
  html body .app-wrapper:not(.d-print-none) { display: block !important; }
  a[href]::after { content: none !important; }
}

(Disclosure, I did not write above CSS myself, but thought it might be helpful in reproducing quickly. It does not make the PDF look great, it just removes the worst offenders.)

Thank you for a wonderful project!

Debug information

Debug information generated at 2026-09-16 22:23:53 for Firefly III version v6.7.2.

System information
ItemValue
Firefly IIIv6.7.2
Build time2026-09-16 09:47:31 Europe/Amsterdam (1789544851)
PHP version8.5.9 (64bits) / fpm-fcgi / Linux x86_64
BCscale 12
Error reportingDisplay: Off, reporting: ALL errors
Max upload104857600 (104857600)
Database drivers*mysql*, pgsql, sqlite
Firefly III information
ItemValue
Timezone
App environmentproduction, debug: false
Layoutv1
Loggingnotice, stack / audit_daily, audit_stdout
Cache driver, session driverfile, file
Default language and localeen_US
Trusted proxies**
Login provider & user guardeloquent / web
Login headersN/A + N/A
Last cron job2026-06-03 22:00:00 (3 months ago)
Mailersmtp
Exchange ratesDisabled, downloads disabled
RB-columnDisabled
User-specific information
ItemValue
User#1 of 1
User flags:credit_card: :wrench: :email:
Primary currencyUSD
Convert to primary currency?Disabled
Session start2023-01-01 00:00:00
Session end2026-09-16 23:59:59
View range1M
User language
User locale
Locale(s) supported.utf8: :white_check_mark:
.UTF-8: :white_check_mark:
User agentMozilla/5.0 (X11; Linux x86_64; rv:155.0) Gecko/20100101 Firefox/155.0

Steps to reproduce

  1. Create any long report (e.g. multi-year audit report)
  2. Ctrl-P in browser
  3. In print dialog, select "Save as PDF" and save.

Additional info

I am currently doing this on a Linux machine with Librewolf 155 (not Firefox), but I'm pretty sure it is purely a CSS issue.