We have moved to a new Sailfish OS Forum. Please start new discussions there.

[Xperia X][Bug] QtWebkit unusably slow

asked 2017-10-23 15:09:16 +0300

leszek gravatar image

updated 2018-06-01 08:56:39 +0300

Direc gravatar image

QtWebkit included in the Xperia X SailfishOS version is unusably slow. This affects not only Webbrowsers like Webcat or WebPirate but also applications using the SilicaWebView component (like Jolla Together, Tooter or Jolla Email)

Even QtWebkit 5.212 (on my merobs) runs only slightly a bit faster but lags most of the times.

edit: Still valid for

edit: Still valid for

edit: Significant improvements for

edit retag flag offensive close delete


I'd disagree that it's "unusably slow" as I used webpirate the other day for a website that doesn't support gecko and I could use it in good time. Yes, slower than gecko, but that's always been the case.

gabriel ( 2017-10-23 16:45:14 +0300 )edit

It depends of course on the website. But if the page switching animation from website to bookmarks in webcat or in jolla email stutters and takes several seconds than there is definitely something wrong. Especially when it is running on a powerful hardware such as the Xperia X.

leszek ( 2017-10-23 17:57:54 +0300 )edit

@leszek yup can confirm Jolla Email, and some Jolla Browser animations do stutter, or are slow to the point where its hard to figure out if its connection speed or faulty rendering.

XFish ( 2017-10-24 00:20:04 +0300 )edit

Same for me. Email app is very slow to open emails v Jolla 1.

richie ( 2017-10-26 23:20:31 +0300 )edit

Yes, in the year 2017 with hexa core... "unusable slow" fits perfectly

poddl ( 2017-10-31 16:42:39 +0300 )edit

3 Answers

Sort by » oldest newest most voted

answered 2018-03-01 00:23:08 +0300

leszek gravatar image

updated 2018-03-03 13:01:57 +0300

I managed to fix this issue finally in my Qt 5.212 development and my struggle to make Webcat usable on the Xperia X again. See this video demo: https://youtu.be/QAM5eT0cCns

WARNING: The following is only for advanced users who know how to get to the original RPMs and those who are crazy enough to try out some random guys rpms.

If you want to try it out for yourself you can get the necessary rpms from here for now: https://openrepos.net/content/llelectronicsdev/qtwebkit-5212-dev

Be aware that you MUST switch back to the original packages before attempting installing any SailfishOS Upgrade otherwise the upgrade might fail.

The patch is a very rough one. So I am planning to improve it. (Basically just commenting out BGRA rendering completely which might be not so a good idea on other devices which don't have BGRA driver issues) edit:You can find the source code with the rough patch here: https://github.com/llelectronics/lls-qtwebkit

Of course QtWebkit 5.212 brings in a lot of other modern browser features like HTML5 audio + video support, SVG support, JavaScript improvements and list goes on and on and on

edit::Jolla/Mer picked up the fix here: https://git.merproject.org/mer-core/qtwebkit5/commit/67c06eda9d72183b48aeb75891d9ad598ab86851

edit flag offensive delete publish link more


Oh wow. Awesome work! I really want to test that, but first I would like to see instructions on how to restore the original packages :)

Just to be sure: it does affect the email client, doesn't it?

Direc ( 2018-03-01 01:01:07 +0300 )edit

Yes it affects everything on your system using QtWebkit. (account settings for example)
As for instructions. You can use pkcon download path_to_folderpackagenames to download the current packages to a directory from the terminal. Later on you can install those packages with pkcon install-local packagenames. (needs devel-su I think
italic printed characters are variables need to be adjusted (can't use <> apparently)

In other words.

mkdir /home/nemo/Downloads/qtwebkit-orig-backup-rpms;   
cd /home/nemo/Downloads/qtwebkit-orig-backup-rpms;    
pkcon download . libqtwebkit5 libqtwebkit5-widgets qt5-qtqml-import-webkitplugin qt5-qtqml-import-webkitplugin-experimental qt5-qtwebkit-uiprocess-launcher
leszek ( 2018-03-01 01:36:09 +0300 )edit

Be aware that you MUST switch back to the original packages before attempting installing any SailfishOS Upgrade otherwise the upgrade might fail.

All these package are showed up as update on storeman, when webcat is installed, but no warning at all.

poddl ( 2018-03-01 10:50:14 +0300 )edit

Yes if you have one of my openrepos packages installed it will show up in my repo and as update then. If you click on the packagename itself you will see the description with the warning however.
edit: Working on fixing it by providing a different repo (new account on openrepos)
edit2:Removed it from my repo and added it now here: https://openrepos.net/content/llelectronicsdev/qtwebkit-5212-dev

leszek ( 2018-03-01 12:07:37 +0300 )edit

Here all right. The browser Webcat fix, email too but YTPlayer have lag in videos 720p. Thanks Leszek

Rafaelvlmendes ( 2018-03-01 12:55:29 +0300 )edit

answered 2018-02-20 21:09:28 +0300

Xray2000 gravatar image

Fix this please Jolla...

edit flag offensive delete publish link more



Must be fixed in next update..

Jk ( 2018-02-20 21:28:29 +0300 )edit

answered 2017-10-31 20:46:50 +0300

pawel gravatar image

No, i see a slight improvement before you had to wait until all got rendered untill you could do a swipe. i.e. in mail app now you can go back immediately.

my app songkick was unresponsive once it did show the webview. with it is operable again

so i see an improvement here.

edit flag offensive delete publish link more



Still no comparison to Jolla or Jolla C or Tablet were it runs a lot smoother

leszek ( 2017-10-31 20:53:50 +0300 )edit

I can not see any improvement... zooming e-mails needs to wait until rendered, then you can move to read, but read is not the right word for that s..., horrible slow and small like hell. I'm a power e-mail user, that's really frustrating to choose all time forward, to be able to read, then discard draft, then finding the folder/account where the mail belongs to, then deleting...

poddl ( 2017-11-03 01:23:51 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2017-10-23 15:09:16 +0300

Seen: 2,586 times

Last updated: Jun 01 '18