The DnD Sanctuary

Pings => Otter Browser Forum => Topic started by: mad_king on 2018-05-10, 09:59:11

Title: Web page freeze after switching tab - Otter version 0.9.94-dev
Post by: mad_king on 2018-05-10, 09:59:11
We are using Yocto build (morty)  (Embedded Linux iMX6 Solo) with Otter version 0.9.94 and Qt version 5.7.1. We are facing problem of web page freeze after switching tab. No message display on terminal so its difficult to analyze the problem. So what could be the possible reason?

One more observation, when web page freeze, Otter UI (menu bar, toolbar) is responsive/accessible.

We also tested with Qt Demo browser and it works as expected.
Title: Re: Web page freeze after switching tab - Otter version 0.9.94-dev
Post by: Emdek on 2018-05-10, 16:00:59
@mad_king, 0.9.94? First try updating to 0.9.98.
It's QtWebKit backend? Which QtWebKit version (hopefully not the one bundled with Qt 5.7.1)?
Also, is that any page or some specific one?
Title: Re: Web page freeze after switching tab - Otter version 0.9.94-dev
Post by: mad_king on 2018-05-11, 04:44:42
Backend is QtWebengine (not QtWebkit).
Issue observed for any page.

As mentioned earliar, We tested with Qt demo browser (with QtWebengine) and it works as expected. My first suspect was QtWebengine but it works with Qt Demo browser.
Meanwhile, I'll try with 0.9.98.

Title: Re: Web page freeze after switching tab - Otter version 0.9.94-dev
Post by: Emdek on 2018-05-11, 18:49:15
@mad_king, ah, QtWebEngine, then it could be some lockup caused by calls that require synchronous replies but they are asynchronous in QtWebEngine.
There were some recent changes that should prevent them, but 0.9.98 might instead be crashy at times with that backend (there is new workaround that allows to use global history but it needs some fixes for edge cases).