• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 5.7
    • 5.5, 5.5.2, 5.5.3, 5.6.3, 5.6.1, 6.15.1, 6.15.2
    • None

      PDF files can not be (reliable) viewed in Confluence 5.x.x
      (the CONF-31759 workaround doesn't change this... deals with other topic)

      Let me sum up what I've learned about the bug:

      • occurs predominant on Windows hosted system
      • 1st view of pdf always works
      • after time Confluence starts creating *.part files in viewfile directory (in additon to the existing -> from now on some pages of the pdf are not rendered (the bug)
      • the viewfile directory and it's temp directory is heavily used under Windows during viewing a pdf if you delete the content of the viewfile directory and it's temp, 1st view of pdf always works (so a startover)

      And this cannot be debugged to it's root cause and fixed by Atlassian ?

            [CONFSERVER-34096] View File Macro not rendering complete PDF on Windows

            Frank added a comment -

            I can confirm @Caterina Trainito's comment - still broken in Confluence 6.15.9 and tbh quite annoying.

            Just after the pdf preview component has been added, it works. But subsequent requests start to fail, sometimes only some pages aren't displayed and getting worse over time, sometimes the preview images for all pages in the pdf are not rendered any more with the second request.

            The log files just show a 404.

            Frank added a comment - I can confirm @Caterina Trainito's comment - still broken in Confluence 6.15.9 and tbh quite annoying. Just after the pdf preview component has been added, it works. But subsequent requests start to fail, sometimes only some pages aren't displayed and getting worse over time, sometimes the preview images for all pages in the pdf are not rendered any more with the second request. The log files just show a 404.

            Still broken in Confluence 6.15.1. Deleting the Viewfile plugin cache does not work as a permanent fix.

            Caterina Trainito added a comment - Still broken in Confluence 6.15.1. Deleting the Viewfile plugin cache does not work as a permanent fix.

            This has been a problem for a while. I have seen this in sever 5.x versions but our current version is 5.10.4.

            Nicholas Randal added a comment - This has been a problem for a while. I have seen this in sever 5.x versions but our current version is 5.10.4.

            Ryan LaMay added a comment -

            Problem still exists in 5.7. I cannot view PDFs in the previewer.

            Ryan LaMay added a comment - Problem still exists in 5.7. I cannot view PDFs in the previewer.

            Sorry to open this again; however, we're using Confluence 5.8.15, and I can only find the PDF, Office Excel, Office Powerpoint, and Office Word macros. I don't see anything that looks like 'previewer' or 'file previewer' or any other name that promises to show the content of an attached file.
            I'm trying to allow a user to view the contents of an attached PDF file; however, like other users writing comments here, I'm losing portions of the PDF file.
            Please advise what macro to use for the 'new file previewer released in Confluence 5.7"

            Nancy Hobbs added a comment - Sorry to open this again; however, we're using Confluence 5.8.15, and I can only find the PDF, Office Excel, Office Powerpoint, and Office Word macros. I don't see anything that looks like 'previewer' or 'file previewer' or any other name that promises to show the content of an attached file. I'm trying to allow a user to view the contents of an attached PDF file; however, like other users writing comments here, I'm losing portions of the PDF file. Please advise what macro to use for the 'new file previewer released in Confluence 5.7"

            Thanks everyone, for the feedback here. This issue appears to be fixed in the new file previewer released in Confluence 5.7. We are no longer investing in the viewfile macros and all future improvements will be made to the new previewer. Please try it out in the new previewer and if this remains an issue, raise a ticket against that.

            Regards,
            Natasha Prasad
            Confluence Product Manager

            Natasha Prasad added a comment - Thanks everyone, for the feedback here. This issue appears to be fixed in the new file previewer released in Confluence 5.7. We are no longer investing in the viewfile macros and all future improvements will be made to the new previewer. Please try it out in the new previewer and if this remains an issue, raise a ticket against that. Regards, Natasha Prasad Confluence Product Manager

            Still exists in Confluence 5.6.4, Windows 7 SP1 x64, IE9/Firefox 33.
            Thumbnails of PDF files embeeded in Confluence page doesn't display correctly. Not all content of PDF pages is visible.

            Michał Siwecki added a comment - Still exists in Confluence 5.6.4, Windows 7 SP1 x64, IE9/Firefox 33. Thumbnails of PDF files embeeded in Confluence page doesn't display correctly. Not all content of PDF pages is visible.

            The same for me with 5.6.3 on Windows Server. The page either shows a blank page or an broken icon.

            Thomas DAMME added a comment - The same for me with 5.6.3 on Windows Server. The page either shows a blank page or an broken icon.

            I understand, thank you. And I've found the Office Connector-option.

            Frank Solutions Atlassian added a comment - I understand, thank you. And I've found the Office Connector-option.

            To change your install would not effect this bug, therefor just for not be able to display PDF's I'd not change the instance.

            As Atlassian is appearently not willing or resource wise able to fix this in a timely manner, I guess we just have to live with that bug that Confluence is not able to display complete PDF files or PPT's.

            P.S. Above workaround is not a fix it's a bad user ... "give me at least some little improvement".
            Don't know if Office connector Setting has changed sinc 5.4.1 .... to clearify
            it's Confluence Admin Menue -> Office Connector -> Option: "System Resource Usage" -> Heading "Temporary storage for viewfile macro:" -> checkbox Cache in-memory:

            Burkhard Buelte added a comment - To change your install would not effect this bug, therefor just for not be able to display PDF's I'd not change the instance. As Atlassian is appearently not willing or resource wise able to fix this in a timely manner, I guess we just have to live with that bug that Confluence is not able to display complete PDF files or PPT's. P.S. Above workaround is not a fix it's a bad user ... "give me at least some little improvement". Don't know if Office connector Setting has changed sinc 5.4.1 .... to clearify it's Confluence Admin Menue -> Office Connector -> Option: "System Resource Usage" -> Heading "Temporary storage for viewfile macro:" -> checkbox Cache in-memory:

              Unassigned Unassigned
              shaffenden Steve Haffenden (Inactive)
              Affected customers:
              37 This affects my team
              Watchers:
              37 Start watching this issue

                Created:
                Updated: