ZUGFeRD / quba-viewer

Quba is a viewer for electronic invoices
Apache License 2.0
97 stars 19 forks source link

structured content view not reset when opening new PDF #71

Open jmozd opened 1 month ago

jmozd commented 1 month ago

Using Quba-Viewer-1.4.0 on Linux, opening a non-Zugferd-PDF may not refresh the currently displayed Zugferd info from previously opened PDF.

Order of actions:

If you don't click the content area and open a new document, it is opened in a new tab and displayed properly without structured content area.

Same effect when replacing a non-Zugferd-PDF with a Zugferd-PDF: Although the new PDF does have structured content, it is not displayed.

Expected behavior: either always open a new tab for new documents, or when replacing tab contents, re-render the structured content.

jstaerk commented 1 month ago

interesting, seems to work on windows, might confirm on linux