kiwibrowser / src.next

Source-code for Kiwi Next, a Kiwi Browser auto-rebased with latest Chromium
BSD 3-Clause "New" or "Revised" License
2.29k stars 294 forks source link

Scrolling tends to misbehave #501

Open sinisterseed opened 2 years ago

sinisterseed commented 2 years ago

Describe the bug I have noticed that scrolling tends to misbehave in Kiwi. It usually isn't an issue, but there are some websites which do seem to cause some problems, specifically metal-archives.com.

If I try scrolling left/right, the browser seems to try to recenter the page instead of letting me scroll where I want. I have to move the page very slowly to the sides if I want to avoid the scrolling glitch.

Scrolling up/down also seems to misbehave sometimes, as in sometimes losing its precision and scrolls either more or less than desired, but the rate of occurrence is much lower, so far I have only noticed it on the pcgamingwiki while I was trying to select some text on a few articles. This does not happen in any Chromium-based browser I have used or the latest stable release of Chrome as of this date.

To Reproduce Steps to reproduce the behavior:

Expected behavior Scrolling works as intended and doesn't glitch.

Screenshots -.

Smartphone (please complete the following information):

Additional context -.

kiwibrowser commented 2 years ago

Hello,

Wow, one of the few metal-archives user, I actually designed a toolbar for... Internet Explorer to search in Metal-Archives long years ago and offered to buy the website (in my previous life I was helping metal bands for their promotion :o))

Thank you for the detail report, I'll try to reproduce the issue, but in order to be in the same situation, can you please share if you have the "Text rewrap / reflow" setting enabled and if the "bottom toolbar" is enabled ?

Thank you very much, Arnaud.

sinisterseed commented 2 years ago

Heh, yeah, that's what happens when you're really into something, MA sure makes it easier to find similar artists than browsing the library of a thousand record labels (although you kinda have to when you get down to the listening part after all).

Now then, about the issue. Actually now that you mention it, I did have Text Reflow enabled all this time, as it sure is a handy feature. That said, disabling it does seem to fix the anomaly with the scrolling, as MA now scrolls to the sides correctly without attempting to recenter the page constantly. As for the toolbar at the bottom, no, I never had that enabled, makes me want to turn my phone upside down lol.

This sounds like a bug with the rewrap feature to me, it probably shouldn't try recentering the page constantly, but it's weird how it seems to happen more frequently on some websites but not others.

Javi commented 2 years ago

Chiming in, I'm a very heavy Opera user, with a burning desire to switch, but it's got the only reflow that works flawlessly and it's a serious game changer.

Every couple months I try Kiwi again since it looks so good in every other area and my test is enabling reflow and going to old.reddit.com and trying to navigate it a bit. Right now on text sizing at 100% it's incredibly weird, for some reason titles balloon up in size but comment links are tiny, and zooming in with reflow runs into this centering problem that seems unneeded.

I want this feature to work so bad I'm willing to help with code if you'd like to point me in the right direction a bit 😂