Bug 394336 - Okular snap package cannot print files
Summary: Okular snap package cannot print files
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 1.1.3
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL: https://forum.snapcraft.io/t/okular-p...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-16 15:36 UTC by ostrokach
Modified: 2018-06-06 11:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
video (382.43 KB, video/x-matroska)
2018-06-06 11:43 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ostrokach 2018-05-16 15:36:42 UTC
Trying to print a PDF document using okular installed as a snap package on linux mint 18.3 produces an error:

```
Could not print the document. Detailed error is "Could not find a suitable binary for printing. Make sure CUPS lpr binary is available". Please report to bugs.kde.org
```
Comment 1 Harald Sitter 2018-05-16 16:07:12 UTC
I have a look at it. I do not understand the way this works internally, but this may well be a solvable problem.
Comment 2 Harald Sitter 2018-05-17 13:13:37 UTC
I have a tentative fix for this which is unfortunately blocked by a major blocking regression caused by Qt 5.10. So, this will have to wait.

https://packaging.neon.kde.org/kde/okular.git/commit/?h=Neon/unstable&id=a49f18a8d2bab31b2611deaeacb2c06cdc47c8ff
Comment 3 ostrokach 2018-05-17 14:18:42 UTC
(In reply to Harald Sitter from comment #2)
> I have a tentative fix for this which is unfortunately blocked by a major
> blocking regression caused by Qt 5.10. So, this will have to wait.
> 
> https://packaging.neon.kde.org/kde/okular.git/commit/?h=Neon/
> unstable&id=a49f18a8d2bab31b2611deaeacb2c06cdc47c8ff

Great, thank you!

I posted a status update on the snapcraft message board: https://forum.snapcraft.io/t/okular-package-cannot-print-files/5455.
Comment 4 Harald Sitter 2018-06-06 11:43:14 UTC
Created attachment 113112 [details]
video

This is now working as expected.

(FTR: there is a bug in neon developer unstable installations that actually means this isn't working; not related to this bug though and a fix is already in the works)