Bug 374052

Summary: Print Preview not working when using WebEngine
Product: [Applications] konqueror Reporter: karl.may0
Component: webenginepartAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, kollix, wbauer1
Priority: NOR    
Version: 5.0.97   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=389774
Latest Commit: Version Fixed In: 20.12.0

Description karl.may0 2016-12-22 17:57:57 UTC
Following flaws in the next generation konqueror:

in web browsing mode using webengine

-webpage cannot be saved due to dialog window is not poping up when "save as" is pressed. same applies to "save frame as", "print" and "print preview".

-"tools" drop down menu does not open up

-passwords are not stored in kwallet as no dialog asking for password storeage is popping up after password has been typed into webpage
Comment 1 Martin Koller 2017-05-06 10:47:24 UTC
"print" works here (5.0.97) but "save as"/"save frame as" does not.
Comment 2 Wolfgang Bauer 2017-07-18 09:38:46 UTC
The webenginepart's printing functionality needs Qt 5.8 or higher, it's missing in earlier QtWebEngine versions. That's not a flaw in Konqueror.
I can confirm that "Save As"/"Save Frame as" doesn't work here too though (with Qt 5.9.1). Works fine with kwebkitpart and khtml.

Missing kwallet support of the new webenginepart is already tracked in bug#372777. Works fine with kwebkitpart and khtml.

The "Tools" menu is probably empty because there are no plugins for QtWebEngine (yet? no idea if they will be ported).
It's definitely populated here when using kwebkitpart or khtml.

And a general remark: it's better to create separate bug reports for different problems. ;-)
Comment 3 Wolfgang Bauer 2018-02-07 12:54:23 UTC
FYI, kwallet support has been added now:
https://cgit.kde.org/konqueror.git/commit/?id=56ea2a32d2f1d9f4e6c97b27080cf8144a932ee3
Comment 4 Wolfgang Bauer 2018-02-07 12:55:10 UTC
(In reply to Wolfgang Bauer from comment #3)
> FYI, kwallet support has been added now:
> https://cgit.kde.org/konqueror.git/commit/
> ?id=56ea2a32d2f1d9f4e6c97b27080cf8144a932ee3

PS, to avoid misunderstandings: this will be in 18.04.0...
Comment 5 Wolfgang Bauer 2018-02-07 12:57:09 UTC
So the remaining issues from comment#0 are:
- Save As/Save Frame As not working
- the Tools menu is empty because the plugins haven't been ported to WebEngine yet
Comment 6 Wolfgang Bauer 2018-02-07 13:07:14 UTC
(In reply to Wolfgang Bauer from comment #5)
> - Save As/Save Frame As not working

PS: there's also Bug 389774 about this.
Comment 7 Wolfgang Bauer 2019-01-18 07:56:18 UTC
(In reply to Wolfgang Bauer from comment #5)
> - the Tools menu is empty because the plugins haven't been ported to
> WebEngine yet

This is basically fixed in 18.12.1 now as well.

So, AFAICT the only issue left is "Save As"/"Save Frame As" and "Print Preview" not working ("Print" does work fine meanwhile with Qt 5.8+).
The former is tracked in bug#389774 anyway, so I'll change the summary to the latter (and reassign to webenginepart).
Comment 8 Wolfgang Bauer 2019-01-18 08:02:45 UTC
(In reply to Wolfgang Bauer from comment #7)
> (In reply to Wolfgang Bauer from comment #5)
> > - the Tools menu is empty because the plugins haven't been ported to
> > WebEngine yet
> 
> This is basically fixed in 18.12.1 now as well.

PS, the corresponding change:
https://cgit.kde.org/konqueror.git/commit/?id=0617d9c8df6f4f35e0d4c1ad3e41ba4f6e60c920
Comment 9 Wolfgang Bauer 2020-09-27 10:51:08 UTC
Print preview has been implemented now too:
https://invent.kde.org/network/konqueror/-/merge_requests/39