apache/superset

pdf export when embedding works only on visible graphics

Closed this issue · 4 comments

jpchev commented

Bug description

exporting to pdf from iframe doesn't work well, only the visible graphics are displayed in the pdf file, the other ones, in the hidden parts of the page (visible by scrolling the iframe) won't appear in the pdf.

Screenshots/recordings

No response

Superset version

4.0.2

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.

The issue you're experiencing with PDF export from iframes in Superset, where only visible graphics are included in the PDF, is a known limitation. The current implementation of the PDF export feature in Superset does not handle content that is not immediately visible on the screen, such as content that requires scrolling within an iframe. Unfortunately, there isn't specific documentation or configuration options in Superset to modify this behavior for iframes [1].

To continue talking to Dosu, mention @dosu.

jpchev commented

this seems a duplicate of #27532

Agreed on the duplication... let's close this in favor of #27532 if that's OK :)

jpchev commented

ok