Bug 236056

Summary: Print window should show a preview
Product: [Applications] gwenview Reporter: Sam <kingsamses+kde>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: gwierzchowski, illumilore, nate
Priority: NOR Keywords: usability
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 22.04
Bug Depends on:    
Bug Blocks: 332213    

Description Sam 2010-05-02 19:30:54 UTC
Version:           2.4.2 (using 4.4.2 (KDE 4.4.2), 4.4.2-2.fc12 Fedora)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.32.11-99.fc12.x86_64

My File menu in Gwenview has a Print option, but no Print Preview. Take a look at Bug 219531 (especially comment #3) for some pertinent info.
Comment 1 Jekyll Wu 2012-01-31 07:43:48 UTC
*** Bug 292657 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2015-01-07 15:31:46 UTC
*** Bug 342450 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2017-11-09 16:47:07 UTC
Qt has support for print previews via the QPrintPreviewWidget. I wonder if we could use that.
Comment 4 Bug Janitor Service 2021-11-15 16:32:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/116
Comment 5 Alexander Volkov 2021-11-18 16:12:05 UTC
Git commit a6c80184e347c4016794c7fab0c75808a2eb9c16 by Alexander Volkov.
Committed on 17/11/2021 at 21:20.
Pushed by ngraham into branch 'master'.

Add "Print Preview" action

M  +2    -1    app/gwenviewui.rc
M  +24   -6    app/mainwindow.cpp
M  +1    -0    app/mainwindow.h
M  +59   -32   lib/print/printhelper.cpp
M  +2    -1    lib/print/printhelper.h

https://invent.kde.org/graphics/gwenview/commit/a6c80184e347c4016794c7fab0c75808a2eb9c16