| Summary: | Feature Request: PDF View Support | ||
|---|---|---|---|
| Product: | [Applications] Falkon | Reporter: | Marian Arlt <marianarlt> |
| Component: | general | Assignee: | David Rosca <nowrep> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | wishlist | CC: | brendon, cristian.adam, jplx256, jsardid, jurajoravec, kde, null, peebhat, tarptaeya, wbauer1 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Marian Arlt
2018-10-21 18:05:20 UTC
You can try https://github.com/Tarptaeya/PDFReader to view pdf directly in Falkon. What about embedding okular as in konqueror? I would very much like that in contrast to pdf.js What about QtLabs's PDF module? http://blog.qt.io/blog/2017/01/30/new-qtpdf-qtlabs-module/ This should be implemented in QtWebEngine, where it would "just" need to enable Chromium PDF support. There was some work done to support it, but I am not sure about the current state. Just for a record, PDF viewer was added to QtWebEngine. See link: https://github.com/qt/qtwebengine/commit/e3968360b4f1b7b0603b97d50244b18c92207f21 As of Falkon 3.1.0 and QtWebEngin 5.13.2, PDFs can be viewed directly in the browser. However, it's quite clunky and there a still multiple problems: - The PDFs can't be downloaded from the viewer, the 'save as' dialog wants to save an HTML file, which is confusing - There is no setting to enable/disable the viewer. Im sure some people don't want this feature. It does not appear in the 'Extensions' tab of the settings window. (In reply to Jan Przybylak from comment #6) > - There is no setting to enable/disable the viewer. Im sure some people > don't want this feature. It does not appear in the 'Extensions' tab of the > settings window. There is a way to disable it. Go to [Preferences > Browsing] and disable "Allow pepper plugins (flash player)" The side-effect is that it will disable flash player and maybe some other plugins. > - The PDFs can't be downloaded from the viewer, the 'save as' dialog wants > to save an HTML file, which is confusing I can swear that I saw that option there in the past, but it is gone now. Well it is QtWebEngine part, best to go bug them. Another annoying problem, if you open a website with an embedded PDF, Falkons PDFviewer will only show the PDF file in full size, but not the rest of the page Just yesterday while submitting a paper to arxiv.org I found that the built-in viewer would not render the PDF which their server generated. The screen was just grey. Of course, I was logged in and the submission is private, so I couldn't just wget the URL. I had to use Firefox (which does allow me to turn their built-in viewer off) instead. Good to know about the "disable pepper plugins" workaround. From my point of view, though, Falkon desparately needs an on/off toggle, and a "Save" button, for the built-in PDF viewer. (My experience with these continues to be hit-or-miss, and I was quite happy to just use Okular for PDF viewing in the past...) It is not just one URL and one pdf link.Any website and any pdf link,falkon goes to open in it's own tab, then the page remains blank. I have this behaviour since about June after an update.May be the fault lie in some other KDE piece as falkon itself seems not to have been updated. Today had a new update to 5.19,but this bug is persisting. (In reply to Parameshwara Bhat from comment #10) > It is not just one URL and one pdf link.Any website and any pdf link,falkon > goes to open in it's own tab, then the page remains blank. I assume you are using Qt 5.15.0? The known issues page states that "The embedded PDF viewer in qtwebengine is non-functional. Fixed for 5.15.1." https://wiki.qt.io/Qt_5.15.0_Known_Issues So not a bug in Falkon. Regarding the original request (ignoring the bug in QtWebEngine 5.15.0): Viewing PDF files directly in the browser should be possible since Qt(WebEngine) 5.13, so I think this can be closed? Recently, also an option to enable/disable this has been added to Falkon's settings: https://invent.kde.org/network/falkon/-/commit/90664879c51167eac792139ae65a48da11268244 (before it was enabled unconditionally) There hasn't been a new release yet that contains this change though. On Thursday, 30 July, 2020 11:30:03 PM IST Wolfgang Bauer wrote:
> https://bugs.kde.org/show_bug.cgi?id=400120
>
> Wolfgang Bauer <wbauer@tmo.at> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |wbauer@tmo.at
>
> --- Comment #11 from Wolfgang Bauer <wbauer@tmo.at> ---
> (In reply to Parameshwara Bhat from comment #10)
> > It is not just one URL and one pdf link.Any website and any pdf link,falkon
> > goes to open in it's own tab, then the page remains blank.
> I assume you are using Qt 5.15.0?
>
> The known issues page states that "The embedded PDF viewer in qtwebengine is
> non-functional. Fixed for 5.15.1."
> https://wiki.qt.io/Qt_5.15.0_Known_Issues
>
> So not a bug in Falkon.
>
>
@ Wolfgang Bauer
Thank you for the update. Hope this fix (in Qt) will soon be available.
(In reply to Parameshwara Bhat from comment #13) > @ Wolfgang Bauer > Thank you for the update. Hope this fix (in Qt) will soon be available. According to https://wiki.qt.io/Qt_5.15_Release, the 5.15.1 release is planned for August 2020. (In reply to Wolfgang Bauer from comment #14) > (In reply to Parameshwara Bhat from comment #13) > > @ Wolfgang Bauer > > Thank you for the update. Hope this fix (in Qt) will soon be available. > According to https://wiki.qt.io/Qt_5.15_Release, the 5.15.1 release is > planned for August 2020. 5.15.1 has been released last week, and I can confirm that Falkon now properly displays PDF files with the embedded PDF viewer for me again. Setting status according to comment 15. |