Robert, As I'm (slowly) managing to stop procrastinating, I'll finish the settings overhaul that I started and will look at this.
Tomaz Em 10 de ago de 2016 18:32, "Robert Helling" <[email protected]> escreveu: > Hi, > > I started to work on the transition to WebEngine, here is what I got so > far: > > > In current master, WebKit is used in three places 1) user manual, 2) > Facebook connection, 3) printing > > As I understand it, the situation is as follows: > > re 1) With this patch, the user manual works. > > 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. > > 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. > > 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. > > Any help is appreciated. > > Best > Robert > > _______________________________________________ > subsurface mailing list > [email protected] > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface > >
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
