lensai icon indicating copy to clipboard operation
lensai copied to clipboard

Bug: random scroll after zooming

Open Flanr4 opened this issue 6 months ago • 11 comments

Description: Often, right after zooming in or out, the page scrolls in a random direction. Sometimes slightly, sometimes quite a lot

To reproduce: Zoom in and out on any website

Expected behavior: WL should behave consistently and retain the current scroll position after zooming

Environment:

  • Device: realme 9 pro+
  • OS: android 14
  • Version: WebLibre 0.10.2-alpha-9

I’ve tried creating a clean profile with the default settings — the bug still occurs

Video:

https://github.com/user-attachments/assets/f899c759-de11-4563-91a7-3e032e3fad05

Flanr4 avatar May 06 '26 20:05 Flanr4

Please get the latest alpha, then go to Settings -> Advanced -> Experimental -> And toggle "Native Gecko Scroll Detector". Restart the browser & retest it.

FaFre avatar May 07 '26 00:05 FaFre

@Flanr4 please try https://github.com/FaFre/WebLibre/releases/tag/v0.10.2-alpha-10

FaFre avatar May 07 '26 02:05 FaFre

@FaFre Sorry for the late reply

I don’t see that feature; 0.10.2-alpha-10, realme 9 pro+, a14

Image Image

Flanr4 avatar May 07 '26 15:05 Flanr4

No worries @Flanr4 it should be generally fixed now, no need for a setting anymore. Can you confirm it?

FaFre avatar May 08 '26 03:05 FaFre

@FaFre The random scrolling has indeed gone. But now I've noticed another problem — sometimes the page reloads after zooming:

https://github.com/user-attachments/assets/4d5e315d-dafd-4fca-a7c5-52de6278f611

Flanr4 avatar May 08 '26 13:05 Flanr4

@FaFre can you disable pull to refresh in the settings and see if it persists?

FaFre avatar May 08 '26 18:05 FaFre

@FaFre It doesn't happen when Pull to refresh is disabled

Flanr4 avatar May 08 '26 19:05 Flanr4

Please try the upcoming alpha when it is out and let me know if it is fixed. There are some changes in touch handling.

FaFre avatar May 25 '26 02:05 FaFre

We can validate this again @Flanr4

FaFre avatar May 27 '26 05:05 FaFre

@FaFre unfortunately, still having the same problem

Flanr4 avatar May 27 '26 08:05 Flanr4

Pull-to-refresh no longer accidentally triggers on gesture strokes near the page top.

Sadly, the bug still occurs just as frequently on 0.20.0-alpha-5 :( @FaFre

Flanr4 avatar Jun 01 '26 10:06 Flanr4

What about the latest alpha now @Flanr4 ?

FaFre avatar Jun 29 '26 08:06 FaFre

@FaFre, just as before

Flanr4 avatar Jun 30 '26 13:06 Flanr4