Bug 496734

Summary: KleverNotes should create PDFs even in flatpak
Product: [Applications] KleverNotes Reporter: Yaakov Selkowitz <yselkowi>
Component: PrintAssignee: Louis Schul <schul9louis>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Yaakov Selkowitz 2024-11-27 02:20:20 UTC
SUMMARY
KleverNotes currently disables creation of PDFs when in a flatpak.  I can see no rationale for that, and it does seem to work once allowed in the code (tested in a local build of a Fedora flatpak).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: on Fedora
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Comment 1 Louis Schul 2024-11-27 09:01:15 UTC
(In reply to Yaakov Selkowitz from comment #0)

This was introduce when I first ported KleverNotes to flatpak. The WebEngineView simply refused to create the PDF.

However, this component as since been updated (at least its version) and I admit haven't tested this since then.

I will give it a try as soon as I find time, thanks for your report. ;)
Comment 2 Yaakov Selkowitz 2024-11-27 16:27:46 UTC
FWIW you may need to add `--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess` to `finish-args`.