ZUGFeRD/quba-viewer

structured content view not reset when opening new PDF

Opened this issue · 1 comments

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:

  • start Quba-1.4.0.AppImage from command (should not matter, starting via menu may give the same results)
  • Ctrl-O to open a "Zugferd-PDF" - results in a split display (PDF to the left, structured content to the right)
  • important step: single-click the document content area
  • Ctrl-O to open a non-Zugferd-PDF - results in a split display (new PDF to the left, prior structured content to the right), the document is opened in the same tab

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.

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