This bug was fixed in the package gnome-shell-extension-ubuntu-dock -
70~ubuntu1
---
gnome-shell-extension-ubuntu-dock (70~ubuntu1) impish; urgency=medium
[ Philipp Kitzberger ]
* Add new setting: preview size scale
[ Evan Welsh ]
* Initial port to GNOME 40.
* theming: Fix
Maybe related (from duplicate bug 1914989):
[ 9574.735022] Ubuntu gnome-shell[1681]: Object St.ScrollView (0x5558e598c4c0),
has been already deallocated — impossible to access it. This might be caused by
the object having been destroyed from C code using something such as destroy(),
dispose(),