speaking of WebKit...

Robert.Helling robert at neu.atdotde.de
Wed Nov 24 09:40:51 PST 2021


Hi Dirk,

> On 22. Nov 2021, at 02:16, Dirk Hohndel via subsurface <subsurface at subsurface-divelog.org> wrote:
> 
> So it appears that openSUSE Tumbleweed just removed the QtWebKit package. It's still there for Leap 15.2, but it's gone for Tumbleweed.
> 
> So time's running out for this one, I guess :(

thanks for the slight push. This made me sit down and implement the template editing with WebEngine. I decided that for the time being, the Subsurface „Preview“ button is not really needed to be ported to WebEngine as the OS also supplies preview capabilities in the printing dialog (at least MacOS does, I hope my assumption about Windows and Linux is correct here). 

So, I consider my „replace webkit with WebEngine“ branch feature complete and ready for merging. The replacement is still subject to a make option (USE_WEBENGINE) but my suggestion would be to make that ON by default on all platforms but Windows and then ditch WebKit wherever possible.

A corresponding PR can be found here: https://github.com/subsurface/subsurface/pull/3352

Let me mention that I took care not to break backwards compatibility for templates. Some things (in particular the profiles) would have been easier with a slight change of template syntax but for the benefit of users that made their own templates (are there many?) I decided not to force them to update their templates.

Let me mention that I realized only now that the fact that our printing is via html allows to include html tags in the dive notes to be rendered in the printout. And of course that allows you to embed images from the web (like our logo…). This is of course also true for the templates. There is room for CI (printing our logo on divelog print outs or include dynamic content from the web, e.g. ads for www.hohndel.org <http://www.hohndel.org/> or similar). The possibilities are infinite.

Best
Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20211124/457b5eb2/attachment.htm>


More information about the subsurface mailing list