Bug 448791 - PDF Document contains a print button which does not work
Summary: PDF Document contains a print button which does not work
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-19 19:56 UTC by andreaswuest
Modified: 2022-01-24 00:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Sample Document with print button. (166.55 KB, application/pdf)
2022-01-19 19:56 UTC, andreaswuest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreaswuest 2022-01-19 19:56:35 UTC
Created attachment 145648 [details]
Sample Document with print button.

STEPS TO REPRODUCE
1. Open the attached document 
2. In the lower right corner is a print button (label: "Drucken")
3. click on it

I observed the same behaviour on Windows using the latest okular version from the windows store. 
Maybe this behaviour was / is fixed in the latest okular version - unfortunately i only do have a rather old version.

OBSERVED RESULT
=> nothing happens..

EXPECTED RESULT
=> print dialog should be opened -> at least i can observe this behaviour with acrobat and master-pdf-editor.


SOFTWARE/OS VERSIONS
Windows: Windows 11 
Linux/KDE Plasma:   Kubuntu 20.2
(available in About System)
KDE Plasma Version:
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2022-01-19 21:45:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/544
Comment 2 Albert Astals Cid 2022-01-24 00:54:40 UTC
Git commit fa6743aa04578db668ad09d02a544fac006d8149 by Albert Astals Cid.
Committed on 23/01/2022 at 22:20.
Pushed by aacid into branch 'master'.

Support the PDF Print named action

Also stop casting directly from a poppler enum to an okular enum, it's
not cool

M  +2    -3    core/action.h
M  +3    -0    core/document.cpp
M  +7    -0    core/document.h
M  +39   -1    generators/poppler/generator_pdf.cpp
M  +1    -0    part/part.cpp

https://invent.kde.org/graphics/okular/commit/fa6743aa04578db668ad09d02a544fac006d8149