This is likely because Synaptic is launched as a root user. If running synaptic from the commandline without sudo, the overlay scrollbars are not used.
Most likely, pkxec does not pass the DESKTOP_SESSION variable when launching an application, so we don't gain the benefits from /etc/X11/Xsession.d/56xubuntu-session
This is likely because Synaptic is launched as a root user. If running synaptic from the commandline without sudo, the overlay scrollbars are not used.
Most likely, pkxec does not pass the DESKTOP_SESSION variable when launching an application, so we don't gain the benefits from /etc/X11/ Xsession. d/56xubuntu- session