madankgit opened a new issue, #37992: URL: https://github.com/apache/superset/issues/37992
### Bug description When exporting dashboards via Alerts & Reports to PDF, charts with multiple rows (3+) are frequently truncated at the bottom due to viewport and rendering limitations. Current behavior requires manual adjustments to viewport size, screenshot settings, or tiled screenshot configurations to capture full charts. <img width="490" height="390" alt="Image" src="https://github.com/user-attachments/assets/0771fea7-31b8-476d-9367-1fe1b627a4c5" /> **Reference Tickets / PRs:** [#34561 – Tiled screenshots in Playwright reports](https://github.com/apache/superset/pull/34561) – Addresses blank or incomplete screenshots for large dashboards. [#29326 – Playwright dashboard screenshot blank issue](https://github.com/apache/superset/issues/29326) – Highlights Chromium rendering delays causing missing chart sections. **Request / Technical Requirements:** - Ensure complete chart capture in PDF exports, regardless of row count or dashboard height. - Automatically utilize tiled screenshots for dashboards exceeding viewport limits (height > 5000px or charts > 20) without manual intervention. - Maintain consistent layout, scaling, and readability across all charts in exported PDFs. - Support both Chrome and Firefox headless WebDrivers, ensuring proper Selenium / Playwright integration in Dockerized Superset environments. - Reduce dependency on manual overrides such as SCREENSHOT_VIEWPORT_HEIGHT or ALERT_REPORTS_MAX_CUSTOM_SCREENSHOT_WIDTH for multi-row dashboards. **Impact / Benefits:** - Eliminates truncated charts in PDF exports. - Removes need for manual screenshot or configuration tweaks. - Improves reliability and completeness of Alerts & Reports. - Ensures consistent rendering across headless browsers and Docker deployments. ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem. - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
