rusackas commented on issue #29719: URL: https://github.com/apache/superset/issues/29719#issuecomment-5039527273
Dug into this. `Download as PDF`/`Download as Image` run client-side through `dom-to-pdf`/`html2canvas` in the user's own browser, not through the headless report worker, so the `isCurrentUserBot()` bypass that already skips `DASHBOARD_VIRTUALIZATION` for scheduled reports and thumbnails never kicks in there. Off-screen charts stay unmounted when the snapshot is taken, which lines up with why disabling the flag fixes it for everyone here. Might be worth teaching `downloadAsPdf`/`downloadAsImage` to force a full render before capturing, same as the bot path already does. Seeing if I can track down a fix. -- 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]
