Using Adwaita, many widgets are drawn with a solid black background

Bug #1059374 reported by Dylan McCall
320
This bug affects 75 people
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Medium
overlay-scrollbar
Confirmed
Undecided
Unassigned
gnome-themes-standard (Ubuntu)
Confirmed
Low
Unassigned
gtk+3.0 (Ubuntu)
Fix Released
Low
Unassigned
overlay-scrollbar (Ubuntu)
Triaged
Low
Unassigned

Bug Description

When I use the Adwaita theme, some widgets end up being drawn with a black background after particular interactions. Here are two examples:

If I open gedit, by default I see a new black document. The notebook widget is visible, and rendered correctly. As soon as I open another document (no matter if I close the existing one first), the entire widget starts being drawn with a black background.

If I open System Settings, then click the (Ubuntu) Online Accounts panel, the box with the "Remove account" button has a solid black background. If, instead, I open Online Accounts directly from its launcher (run gnome-control-center credentials), everything is rendered correctly: there are no solid black backgrounds until I click "All Settings" and select the Online Accounts panel again.

This has been happening consistently on two very different machines, both updated to Quantal from 12.04 using the upgrade tool.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: libgtk-3-0 3.6.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
Uname: Linux 3.5.0-16-generic x86_64
ApportVersion: 2.5.3-0ubuntu1
Architecture: amd64
Date: Sun Sep 30 21:18:23 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110906)
SourcePackage: gtk+3.0
UpgradeStatus: Upgraded to quantal on 2012-08-26 (35 days ago)

Revision history for this message
Dylan McCall (dylanmccall) wrote :
Revision history for this message
Dylan McCall (dylanmccall) wrote :
Jeremy Bícha (jbicha)
Changed in gtk+3.0 (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in gtk:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
shuerhaaken (shkn) wrote :

This bug is still there with current Adwaita theme on Ubuntu 12.10 Quantal Quetzal.
On my test machine there is a installation of gnome-shell from standard packages.

Some GtkLabels, GtkDrawingAreas or Notebook backgrounds seem to be affected.
Please see attached screenshot.

Revision history for this message
shuerhaaken (shkn) wrote :

Attachment screenshot

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-themes-standard (Ubuntu):
status: New → Confirmed
Revision history for this message
buzz (buzz2) wrote :

Removing overlay-scrollbar fixes the issue for me.

Revision history for this message
Hashem Nasarat (hnasarat) wrote :

Removing overlay-scrollbar works for me too. I'm not sure if merely disabling (rather than removing) the overlay scrollbar also fixes this.

Changed in overlay-scrollbar (Ubuntu):
assignee: nobody → Andrea Cimitan (cimi)
importance: Undecided → Low
status: New → Triaged
Changed in gnome-themes-standard (Ubuntu):
importance: Undecided → Low
Changed in ayatana-scrollbar:
status: New → Confirmed
Revision history for this message
Hashem Nasarat (hnasarat) wrote :

Update: disabling it solves the issue too:
"gsettings set com.canonical.desktop.interface scrollbar-mode normal"
http://askubuntu.com/questions/34214/how-do-i-disable-overlay-scrollbars

Revision history for this message
Žygimantas Beručka (zygis) wrote :

Is there a way to have both Adwaita and overlay-scrollbars?

Revision history for this message
Grzegorz G. (grzesiek1e5) wrote :

Still not fixed in Ubuntu 12.10. Is patch not applied yet in Ubuntu or is it applied but it doesn't work?

Daniel (findux)
Changed in gtk+3.0 (Ubuntu):
assignee: nobody → danix (morgenstern-daniel)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the gtk issue is fixed in the current version, closing that side of the bug

Changed in gtk+3.0 (Ubuntu):
status: Triaged → Fix Released
assignee: danix (morgenstern-daniel) → nobody
Revision history for this message
Jos Geluk (t-jos) wrote :

I still have this bug (Ubuntu 13.04)
When I open gnome-control-center from the user menu (top right in Gnome Shell), and open any widget from it, the widget's background is black. When I open the same widget from the command line, all looks well.
When I disable overlay scrollbars with gsettings (as in #8 above), the widgets look fine as well. Setting the overlay scrollbar mode back go 'overlay-auto', the widgets have black backgrounds again.
Changing themes makes no difference. I don't use Adwaita anyway.

Should I report a new bug?

Revision history for this message
Grzegorz G. (grzesiek1e5) wrote :

Looks like this bug isn't fully fixed. Don't report a new bug. Better bring all of your friends and tell them to click "affects me too" ;)

Revision history for this message
Hasan Yavuz Özderya (hyozd) wrote :

Here is more scary one. This one happens with Marlin file browser. Removing overlay scrollbar fixes this issue too.

Revision history for this message
Christopher Forster (christopherforster) wrote :

Also affects Ubuntu 13.10 (Saucy Salamander) development branch with gedit. I'm using the LXDE Desktop Environment.

Andrea Cimitan (cimi)
Changed in overlay-scrollbar (Ubuntu):
assignee: Andrea Cimitan (cimi) → nobody
Revision history for this message
Amedeo (amedeoiantorno) wrote :

I use ubuntu 13.04 whith gnome shell and adwaita theme and I affected with this problem. I resolve use this command in a terminal

gsettings set com.canonical.desktop.interface scrollbar-mode normal

for Disable overlay scrollbars in Ubuntu 13.04

Revision history for this message
mike (pannu89) wrote :

Hi guys, any update on this? I still have this issue in 13.10.

Revision history for this message
LostinSpacetime (lostinspacetime) wrote :

This problem happens not only with the adwaita theme. Almost every recent theme I get has this problem with the overlay scrollbar.
Also tested with Ubuntu 14.04.

Revision history for this message
M.Hanny Sabbagh (hannysabbagh) wrote :

Still here in Ubuntu 14.04.. all the themes i have are having this bug.
Any fix?

Revision history for this message
Pablo Zubieta (pabloferz+) wrote :

I am also seeing this bug in Ubuntu 14.04.

tags: added: trusty
removed: quantal
Revision history for this message
nebirhos (nebirhos) wrote :

I confirm this bug in Ubuntu 14.04. Disabling the hidden scrollbars still fixes the issue, but it's not a solution.

Revision history for this message
Rankovic (d-rankovic) wrote :

Adding this to gtk-widgets.css will "fix" it for Numix and whatever other themes are spawned from it:

GtkWindow {
    color: @fg_color;
    background-color: @bg_color;
}
GtkPaned {
    background-color: @bg_color;
}
GtkEventBox {
    background-color: @bg_color;
}

However, this workaround does not work for Zukitwo, for example. Disabling overlay scrollbars most certainly is not "a solution".

Revision history for this message
Swarnendu Biswas (swarna-cse) wrote :

Disabling scrollbars do not help, I face the issue with certain themes like Moka and Orchis.

Revision history for this message
Sadi Yumuşak (sa-yu) wrote :
Revision history for this message
Leonardo Nicolas (leonicolas) wrote :

I have a similar issue using Adwaita default theme in Gnome 3.14, but what is being drawn with a black solid background is the application system bar in some applications (firefox, pidgin, playonlinux, etc. See attached).
Is It the same bug?

Revision history for this message
Juliusz Gonera (jgonera) wrote :

Graybird shows this issue but its authors don't want to merge a workaround since it's not their theme's bug:
https://github.com/shimmerproject/Greybird/issues/64

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.