After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776255 - Black buttons under wayland
Black buttons under wayland
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.22.x
Other Linux
: Normal blocker
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-12-19 10:02 UTC by optimisme
Modified: 2017-08-04 02:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description optimisme 2016-12-19 10:02:55 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.
Comment 1 Olivier Fourdan 2017-01-02 14:19:01 UTC
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.
Comment 2 Olivier Fourdan 2017-01-02 14:20:38 UTC
One more question, what if you run filezilla from a terminal with the X11 backend instead, do they show up?

 $ GDK_BACKEND=x11 filezilla
Comment 3 Olivier Fourdan 2017-01-10 08:03:00 UTC
Which hardware/driver are you using?
Comment 4 optimisme 2017-01-10 08:07:17 UTC
Nvidia gf 119 (GeForce GT 610) rev a1 
Kernel driver nouveau
Comment 5 Olivier Fourdan 2017-01-10 08:12:02 UTC
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.
Comment 6 Olivier Fourdan 2017-01-10 08:30:48 UTC
Can you try to run "gtk-demo" (from gtk2) and select "Assistant"? Does it work for you?
Comment 7 optimisme 2017-01-10 08:53:18 UTC
Running "gtk-demo" and clicking on Assistant works
Running "GDK_BACKEND=x11 gimp" still shows the black boxes
Comment 8 Olivier Fourdan 2017-02-01 10:03:22 UTC
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.