Hello,
I have been trying to test my app on Ubuntu 22.04 running inside Gnome Boxes without 3D acceleration. This is important because in such environment, animations are disabled, including in GTK.
The app uses an AdwCarousel and reorders pages inside the carousel before scrolling to them. In pseudocode, the flow is very simple
adw_carousel_reorder( carousel, next_page, current_page + 1)
adw_carousel_scroll_to( carousel, next_page, true)
However, this does not work as expected. It looks like the scroll_to operation is performed before the reorder one, and I land on the incorrect carousel page. This seems to somehow be related to the fact that animations are disabled on the system. Using the exact distro, but with animations turned on, I could not reproduce the issue.
Any advice on how to try to resolve this issue are welcomed, as well as suggestions for other widget I can try that offer similar functionalities (I am interested mostly in the scrolling animation).
Thank you