altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

Cef scrolling not working correctly #1061

Open yannbcf opened 3 years ago

yannbcf commented 3 years ago

Client/server version dev/6.0-dev6

Current behavior If you overscroll (continue to scroll after reaching the top or bottom of the div) and then scroll in an opposite direction it doesn't scroll at all. You then must move your mouse or wait for like 2 seconds to be able to scroll again. It also scrolls instantly instead of smoothly

Expected behavior It should scroll without delays, and be smooth

Steps to reproduce Create a div with an y overflow, overscroll up or down

Possible solution It's an issue with the current version of cef 92 For the smooth scroll behavior it could be a flag to set

zziger commented 3 years ago

Same issue happens to me on release, cef 72

gt4ever1988 commented 3 years ago

Same issue on 6.0-rc14 but sometimes when you open a CEF for the first time, it works until you click the mouse for the first time

JulianMa commented 3 years ago

CEF:

https://user-images.githubusercontent.com/10810443/134689272-dfeb4742-39e9-4317-bdfe-f39653d3d1dc.mp4

Chrome:

https://user-images.githubusercontent.com/10810443/134689367-1b467efd-5cfb-40c0-b76d-e68e1204dc8c.mp4

gt4ever1988 commented 3 years ago

Same issue on rc/6.0-rc16 // the error does not occur immediately but only after scrolling for about 20-25 seconds, but then permanently

https://youtu.be/TBqtdSInpiw

It doesnt work at 00:30 at the Video

C0kkie commented 3 years ago

That is a bug in cef and was only present in release branch.

DurtyFree commented 3 years ago

Just to clarify this - Its a known CEF bug which already existed in the CEF version used on release branch, with the newer CEF version this has not been fixed yet. Its most likely related to some OSR issue in CEF.

We will have to wait until CEF officially introduces a fix for smooth scrolling using OSR - please see related issues & topics on CEF side, like: https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=18027

Hutstaender commented 3 years ago

It's not only the smooth scroll problem, but also the not even at all scroll problem... it worked on prev release until the last update

ThomasMarangoni commented 3 years ago

It's not only the smooth scroll problem, but also the not even at all scroll problem... it worked on prev release until the last update

Thats not reported here, if you have this problem you should create a proper bug report

JulianMa commented 3 years ago

Thats not reported here, if you have this problem you should create a proper bug report

This is confusing. There are two Issues Reported here:

  1. Smooth scrolling: This is annoying, but not really a big problem. This is an old issue.
  2. Scrolling stops working: This is the real deal braker! This bug is definetly new and alot of users are reporting this to us aswell. Scrolling is still possible with the sidebar, but not with the mouse wheel.
C0kkie commented 1 year ago

@JulianMa @Hutstaender could you test the smooth scrolling on rc?

deluvas1911 commented 1 year ago

Scrolling still seems laggy to me, but it could be due the html I just thrown together. Can't reproduce the scroll stuck issue tho tested on 14.0-rc3

JulianMa commented 1 year ago

@JulianMa @Hutstaender could you test the smooth scrolling on rc?

I'm no longer active in the alt:V Community, but i can ask someone from the current team to test it.

C0kkie commented 1 year ago

Would be cool @JulianMa

Hutstaender commented 1 year ago

@C0kkie I just tested it out and got the following on the newest rc: -Smooth scrolling is still not working in cef (see video) -In some cases u wont get ref updates. For our bank system we update the view everytime on bottom scroll. Works in chrome, but not in cef (see video) -In some cases scrolling isn't working until you move the mouse 1px inside the container -and as deluvas1911 mentioned, it's laggy as shit.

https://user-images.githubusercontent.com/76869276/228159748-e61b3740-cfd9-4faa-82e4-5150eed7e463.mp4

FabianTerhorst commented 1 year ago

Test it again in v15.