Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-233

Fix interaction between browser tabs when viewing PDFs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: UI
    • Backlog priority:
      550
    • Upgrade notes:
      Hide

      The problem was related to the identical IDs included in the PDFs provided.

      Show
      The problem was related to the identical IDs included in the PDFs provided.
    • Sprint:
      UI - 2021-02, UI - 2021-03, UI - 2021-04

      Description

      With some given PDF files:

      • browse a PDF in a tab
      • open a new browser tab
      • browse the other PDF
      • rotate one of the PDF
      • refresh the other tab (<F5> or <Ctrl-R>) => watch the other PDF is also rotated

      Expected result: independence of the browser tab when viewing PDFs

        Attachments

          Issue Links

            Activity

            Hide
            gbarata Gabriel Barata added a comment - - edited

            The problem here is that the two PDF files have the same ID on the trailer part of the document, which means that one of the PDFs must be corrupted. The ID, is present, must be unique (see spec for PDF 32000-1 page 51 (in document 43)), where it reads:

            NOTE 2 Although this entry is optional, its absence might prevent the file
            from functioning in some workflows that depend on files being
            uniquely identified.

            To reproduce, open both PDFs on a text editor, go to the bottom, and check for the /ID.

            This is a feature of pdf.js and is working according to the standard.

            Show
            gbarata Gabriel Barata added a comment - - edited The problem here is that the two PDF files have the same ID on the trailer part of the document, which means that one of the PDFs must be corrupted. The ID, is present, must be unique (see spec for  PDF 32000-1 page 51 (in document 43) ), where it reads: NOTE 2 Although this entry is optional, its absence might prevent the file from functioning in some workflows that depend on files being uniquely identified. To reproduce, open both PDFs on a text editor, go to the bottom, and check for the  /ID . This is a feature of pdf.js and is working according to the standard.
            Hide
            sfialho Samuel Fialho added a comment -

            I'm going to close this ticket, feel free to reopen it if new information arises.

            Show
            sfialho Samuel Fialho added a comment - I'm going to close this ticket, feel free to reopen it if new information arises.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 3 hours, 10 minutes
                  2d 3h 10m