<p dir="ltr">Robert, </p>
<p dir="ltr">As I'm (slowly) managing to stop procrastinating, I'll finish the settings overhaul that I started and will look at this. </p>
<p dir="ltr">Tomaz </p>
<div class="gmail_extra"><br><div class="gmail_quote">Em 10 de ago de 2016 18:32, "Robert Helling" <<a href="mailto:helling@atdotde.de">helling@atdotde.de</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I started to work on the transition to WebEngine, here is what I got so far: <br><br>
<br>
In current master, WebKit is used in three places 1) user manual, 2) Facebook connection, 3) printing<br>
<br>
As I understand it, the situation is as follows:<br>
<br>
re 1) With this patch, the user manual works.<br>
<br>
re 2) FB should also work (at least it compiles, minus one reference to the cookie jar). But at least for me, FB integration is currently also missing in current master (I have no idea why, ccmake says yes to FB), so I could not test.<br>
<br>
re 3) This is hard and (at least currently) beyond my powers. In master, to render the page for printing, html elements in the page are accessed to get the page breaks right and then (parts of the) page is rendered to the printer. With WebEngine, according to the transition documents, you cannot access html elements anymore. You are supposed to do this in Javascript and then invoke some callback function from there. Too bad I know virtually nothing about Javascript. And then, the rendering to the printer is probably also different. There is a new functionality to render a QWebEngineView to a pdf file, but I don’t know how that handles page breaks. So, currently, large parts of the printing functionality are commented out and consequently, with this, there is currently no printing.<br>
<br>
There is another difference between WebEngine and WebKit: The new approach does not go through the QNetWorkManager anymore but accesses the net directly. This might bring new problems with cookies, proxies etc.<br>
<br>
Any help is appreciated.<br>
<br>
Best<br>
Robert<br>
<br>______________________________<wbr>_________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.<wbr>org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-<wbr>divelog.org/cgi-bin/mailman/<wbr>listinfo/subsurface</a><br>
<br></blockquote></div></div>