St.scrollview.[hv]scroll deprecated?

Dash-to-Dock gets access to st.scrollview.hscroll and st.scrollview.vscroll properties. In Gnome 46 accessing those properties show a ‘deprecated’ message in journalctl, but neither the documentation nor the St source code in gnome shell show any deprecation note… How can I fix this?

As far as I know, that is not the case. Usually any overrides or deprecation warning will be put somewhere in environment.js.

A stack trace would probably help tracking that down.

neither the documentation nor the St source code in gnome shell show any deprecation note

The deprecation is done via G_PARAM_DEPRECATED flags:

It looks like dash-to-dock only uses the properties to access the corresponding adjustments. Those are now exposed directly on the scroll view (hadjustment/vadjustment).

2 Likes