GNOME Bugzilla – Bug 776255
Black buttons under wayland
Last modified: 2017-08-04 02:35:22 UTC
Icon buttons are displayed with a black square instead of its image, like described in this post: https://bbs.archlinux.org/viewtopic.php?id=219750 And its attachment https://drive.google.com/file/d/0B80qFiXgy-v1ajlITzhoRHhwWXM/view This happens with various applications only under wayland.
The app shown in your screenshot is FileZilla and it looks like it's using custom icons (not themed icons). Those icons come in various themes/sizes found in /usr/share/filezilla/resources/ $ ls /usr/share/filezilla/resources/ 16x16 32x32 blukis default finished.wav lone sun 20x20 480x480 classic defaultfilters.xml flatzilla minimal tango 24x24 48x48 cyril dropdown.png leds.png opencrystal xrc Maybe it's not finding them? Do you see any relevant error messages when you run filezilla from a terminal? Anyway, I cannot reproduce the issue here (using filezilla-3.23.0 on a GNOME Wayland session on Fedora 25), the icons show just fine.
One more question, what if you run filezilla from a terminal with the X11 backend instead, do they show up? $ GDK_BACKEND=x11 filezilla
Which hardware/driver are you using?
Nvidia gf 119 (GeForce GT 610) rev a1 Kernel driver nouveau
OK, thanks, that matches the downstream report (https://bugzilla.redhat.com/show_bug.cgi?id=1411447), it seems it's related to the use of nouveau driver.
Can you try to run "gtk-demo" (from gtk2) and select "Assistant"? Does it work for you?
Running "gtk-demo" and clicking on Assistant works Running "GDK_BACKEND=x11 gimp" still shows the black boxes
It's an issue between Xwayland and glamor, not gtk+ Also because gtk2 does not support Wayland and still uses X11, so it relies on Xwayland.