Bug 483109

Summary: Okular - Printing Preview not working, can't load the component
Product: [Applications] okular Reporter: paninomaninodesu
Component: printingAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: fanzhuyifan
Priority: NOR Keywords: qt6
Version First Reported In: 24.02.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: the error message okular gives

Description paninomaninodesu 2024-03-10 13:01:49 UTC
Created attachment 166869 [details]
the error message okular gives

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open PDF
2. Click "File - Print Preview"
3. 

OBSERVED RESULT
An error message is shown saying it couldn't load the component to preview printing

EXPECTED RESULT
Print Preview to work.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Neon User
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
As you can see I'm still on Plasma 6.0.0, so it may be possible this problem was already solved. I'm still waiting for the updates to arrive on my Neon to test if other things I reported were successfully solved, while I wait I noticed this.
Maybe isn't a "bug", maybe is just the Neon Update that is still broken because of missing files.
Gwenview 24.02.0 for example still didn't show up here.
Comment 1 Bug Janitor Service 2024-03-11 00:20:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/953
Comment 2 Albert Astals Cid 2024-03-11 00:30:12 UTC
Git commit ac5a8ace6eeccd6d4898e0921c63378815ea1880 by Albert Astals Cid.
Committed on 11/03/2024 at 00:20.
Pushed by aacid into branch 'master'.

Fix loading okular preview part

M  +1    -1    part/fileprinterpreview.cpp

https://invent.kde.org/graphics/okular/-/commit/ac5a8ace6eeccd6d4898e0921c63378815ea1880
Comment 3 Albert Astals Cid 2024-03-11 00:31:32 UTC
Git commit cce2dadcf96cd9e237fad90b05d7314352c2eeb2 by Albert Astals Cid.
Committed on 11/03/2024 at 00:31.
Pushed by aacid into branch 'release/24.02'.

Fix loading okular preview part
(cherry picked from commit ac5a8ace6eeccd6d4898e0921c63378815ea1880)

M  +1    -1    part/fileprinterpreview.cpp

https://invent.kde.org/graphics/okular/-/commit/cce2dadcf96cd9e237fad90b05d7314352c2eeb2