You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2023/03/11 21:06:00 UTC

[jira] [Resolved] (WICKET-6986) Printing of PDF's does not work in Firefox

     [ https://issues.apache.org/jira/browse/WICKET-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Tzvetanov Grigorov resolved WICKET-6986.
-----------------------------------------------
    Resolution: Not A Problem

You will have to consult with COOP and/or Firefox documentation to find out.

> Printing of PDF's does not work in Firefox
> ------------------------------------------
>
>                 Key: WICKET-6986
>                 URL: https://issues.apache.org/jira/browse/WICKET-6986
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 9.10.0
>         Environment: Windows 10/Alma Linux
>            Reporter: Tilman Müller
>            Priority: Minor
>         Attachments: myproject-1.zip
>
>
> Since we are migrated from wicket 8.12.0 to wicket 9.9.0 we running into problems with printing PDF's in FireFox. We developed a small (PDFViewer) class above the WebMarkupContainer to view AND finaly print the PDF. Until wicket 8 this worked/works still fine in Firefox. However we now migrated to wicket 9.9.0 and viewing the PDF stil working in Firefox, but if you try to push the printing button within the default pdfviewer in Firefox nothing happend (except a (new) crash in the browser console). If you use the right mouse click menu and using "This Frame" -> "Print Frame" printing works fine.
> I added a quickstarter project with 1 extra class "PDFViewer", Test.pdf with only the word "Test" in it and a smal change in the  default HomePage.html markup voor de PDF viewer. With this simple project you can easaly reproduce this behaviour. So I wondering if 
> a) this is a bug sinds wicket 9 or
> b) the fault can be found in the PDFViewer class (also look at the override of the renderPage method - without this override we run into another strange crash). 
> With kind regards.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)