Closed mbiebl closed 6 months ago
The movement is right now being performed using the scrollToPage
function. See:
I suggest using PagerState#animateScrollToPage
.
About the lag, please, can you provide a video showing it? For me it's working perfectly both on emulator (Pixel 3a) and my personal phone (Pixel 6a)
I made a screencast, which doesn't quite capture the user experience though. It feels like the UI lags a bit. What you can probably see though is that the first time I swipe to the left, the UI hangs for a few milliseconds.
https://github.com/bitfireAT/davx5-ose/assets/3609611/445686bf-a39e-4737-aa14-be093ae2d3d1
Okay, I see, I'll take a look ASAP
Thanks a lot. It's a minor issue, for sure and I can understand if you need to focus your resources on more pressing issues first.
Should improve with #471. Not a lot, but hopefully it's enough
I tried with a release build instead of a debug build, and it works better. As the debug build is not really relevant for the final product, I'm closing this bug report.
I tried with a release build instead of a debug build, and it works better.
Actually there's a noticeable difference in performance between release and debug builds with Compose. Not sure what affects it, but for sure it's a thing, so maybe that was your issue.
Whatever the case is, I think #471 is still rellevant and a change to be made.
Just curious: Is it ok if I continue filling issues here or does this just create unnecessary work?
Version: 4.3.10-beta.1
The About activity has been rewritten using Compose. Switching between the tabs "DAVx5", "Translations" and "Libraries" has become rather slow. Where the animations previously were smooth it now lags and stutters. This is on real hardware (Pixel 4a).