Project

General

Profile

Actions

Bug #7336

closed

Wt website: Touch scrolling smoothness.

Added by Apivan Tuntakurn over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/25/2019
Due date:
% Done:

0%

Estimated time:

Description

When scrolling the wt website [link] with Chrome touch simulator for a while, you can see throttling message on console like this:

Throttling navigation to prevent the browser from hanging. See https://crbug.com/882238. Command line switch --disable-ipc-flooding-protection can be used to bypass the protection
La @ wt?wtd=15ORLblqyabHWVkg&sid=1299991566&webGL=true&scrW=1393&scrH=930&tz=420&tzS=Asia%2FBangkok&htmlHistory=true&deployPath=%2Fwt&request=script&rand=1784904797:66
e @ wt?wtd=15ORLblqyabHWVkg&sid=1299991566&webGL=true&scrW=1393&scrH=930&tz=420&tzS=Asia%2FBangkok&htmlHistory=true&deployPath=%2Fwt&request=script&rand=1784904797:66
setTimeout (async)
g @ wt?wtd=15ORLblqyabHWVkg&sid=1299991566&webGL=true&scrW=1393&scrH=930&tz=420&tzS=Asia%2FBangkok&htmlHistory=true&deployPath=%2Fwt&request=script&rand=1784904797:66

On my android phone Chrome, scrolling wt website is noticeably not smooth, comparing it with other websites like qt.io.

Actions #1

Updated by Apivan Tuntakurn over 4 years ago

The wt website here: https://www.webtoolkit.eu/wt

Actions #2

Updated by Roel Standaert over 4 years ago

  • Status changed from New to Resolved

It was touching the history API every 10 ms, but really we only need to update the scroll position once the user has stopped scrolling. I just pushed a commit that limits this update to happen only (100 ms) after the user has stopped scrolling.

Actions #3

Updated by Roel Standaert over 4 years ago

Note: this is not fixed on webtoolkit.eu yet. It's just on GitHub.

Actions #4

Updated by Roel Standaert over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF