Skip to main content

Topic: Web page freeze after switching tab - Otter version 0.9.94-dev (Read 146 times)

  • mad_king
  • [*]
Web page freeze after switching tab - Otter version 0.9.94-dev
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.
  • Last Edit: 2018-05-10, 13:22:42 by mad_king

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Web page freeze after switching tab - Otter version 0.9.94-dev
Reply #1
@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?
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • mad_king
  • [*]
Re: Web page freeze after switching tab - Otter version 0.9.94-dev
Reply #2
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.


  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Web page freeze after switching tab - Otter version 0.9.94-dev
Reply #3
@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).
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.