Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Dev channel : Scrolling on Webapps (only ?) becomes less fluid #357

Open
gbdomubpkm opened this issue Jul 27, 2020 · 12 comments
Open

Dev channel : Scrolling on Webapps (only ?) becomes less fluid #357

gbdomubpkm opened this issue Jul 27, 2020 · 12 comments

Comments

@gbdomubpkm
Copy link

gbdomubpkm commented Jul 27, 2020

For me, dev channel BQ E5 HD, OPO for 2/3 days: it didn't really question me at first but now yes..

This is not reproducible in a systematic way but happens randomly (according to my knowledge and observations): the scrolling becomes chopped, jerky and no longer in a fluid movement.

Examples of observations :

1 Webapp of Github (Webber creation): when viewing the content of a 'long' issue commentary.

2 Webapp 'My UT Forum' ( J M Reyes) : when consulting the content of a 'long' topic.

Closing the webapp and reopening it restores normal scrolling.

I don't remember if I've ever noticed this jerky scrolling under Morph-browser (to be confirmed).

@gbdomubpkm
Copy link
Author

BQ E5 HD : same problem quite often by consulting dekko emails

@gbdomubpkm
Copy link
Author

BQ E5 HD last on last rc channel. The problem is still very present and quite annoying. You surely could reproduce it with your BQ 4.5 I think. What is the nature of the problem? Lack of memory? Anything else? Corrected by a pending pull request?
If it helps, what are the useful logs to communicate to you at the time of the problems?

@mateosalta
Copy link
Contributor

maybe the way certain sites load. there are a few flags we can set that involve smooth scrolling - and the way the display is loaded, it is hard to notice a difference on most phones, perhaps the devices like the e5 would be good to test?

@gbdomubpkm
Copy link
Author

Not only webapp, even with morph-browser and on the Vollaphone !!
For example today, RC 8 by consulting https://ubports.com/blog/ubport-blogs-news-1/post/ubuntu-touch-q-a-94-3741.
But the problem occured before, RC 7 or devel. With the RAM of Volla, even if only a small part of it is allocated, more than surprising!!
Close morph and reload the link solve the problem.

@gbdomubpkm
Copy link
Author

The problem is there under the Volla RC 20 with Morph and webapps.
Is it because there is no hardware acceleration that would allow a better and faster loading of web pages?

I have noticed that the problem is very rare when we wait a certain amount of time and let the page load completely before scrolling (favicon displayed).
On the other hand, if the web page is not fully loaded, it necessarily causes jerky scrolling all the time.

@gbdomubpkm
Copy link
Author

On the Volla OTA-19, scrolling work like a charm with Onion Surf based on morph-browser whereas the problem is always there on morph-browser ! 🤔

@mateosalta
Copy link
Contributor

oh maybe is related to the scrollbar css injection?

@gbdomubpkm
Copy link
Author

Yes the scrolling on Onion does not freeze even when pages are not loaded, maybe you have tested it. I asked the question (whether something is different) to try to move the problem forward.

@mateosalta
Copy link
Contributor

one of the changes was that he removed the scrollbar css injection i think - perhaps that is part of the problem?

@gbdomubpkm
Copy link
Author

gbdomubpkm commented Oct 20, 2021

Hello @balcy
Onion's scrolling seems smoother than morph-browser's scrolling.. Do you think something could be improved quite easily about that in morph ?

@lduboeuf
Copy link
Contributor

humm haven't noticed scrolling issue on N5. Is this device specific ?

@gbdomubpkm
Copy link
Author

gbdomubpkm commented Oct 27, 2021

The answer of @nicolascolla to my question here : "the reason for the smoother scrolling seems to be very simple: In order to have a fancy scrollbar, Morph injects javascript into a page once it has loaded (you can see the scrollbar change while loading if you pay attention). I have removed it because it makes it easier to scroll by dragging it when you are having scrolling issues (which a lot of UT users have) and it seems like a nice side effect is better scrolling''.

Are there command lines to easily test this on morph-browser ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants