On Ubuntu distro, if you see the error message below in console whenever you run a Gnome-based applications, chances are you had overlay-scrollbar package previously installed but now removed. In addition, the configuration file which came with that package remained on your system.
Gtk-Message: Failed to load module "overlay-scrollbar"
To verify this, we can run the command:
$ dpkg -l overlay-scrollbar
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-============================-===================-===================-================
rc overlay-scrollbar 0.2.16+r359+14.04.2 all Scrollbar overlay
rc : remove but config file still presents.
On my Ubuntu desktop, this config file resides at /etc/X11/Xsession.d/81overlay-scrollbar.
To correct this problem, we need to purge the overlay-scrollbar package.
# apt-get purge overlay-scrollbar
You would need to log out and log back in of your current X session (KDE, or Gnome) for the change to take effect.