Opened 2 months ago

Last modified 11 hours ago

#65892 assigned defect

gtk3: windows displayed as all black, for x11 install

Reported by: asic512 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: monterey x11 Cc: dbevans (David B. Evans), mac57
Port: gtk3 gnome

Description

I work on a Macbook M1, Monterey 12.6 and X11 with icewm.

I have a problem with applications such as nautilus, evince, gnome-chess etc: I suspect something related to gtk3 or gnome. The problem is the following: for each case, the windows opens and looks as usual but as soon as I move the cursor the background in the window becomes black. Moreover some icons look strange.

Attachments (1)

Capture d’écran 2022-09-24 à 22.22.24.png (5.0 MB) - added by asic512 2 months ago.
Screenshot of gnome-chess opened with x11

Change History (11)

comment:1 Changed 2 months ago by mascguy (Christopher Nielsen)

Can you provide two screenshots: One for the initial case (where the windows look fine), along with the second (after the background changes to black).

comment:2 Changed 2 months ago by mascguy (Christopher Nielsen)

Cc: mascguy removed
Keywords: monterey x11 added; gtk3 gnome removed
Owner: set to mascguy
Port: gtk3 gnome added
Status: newassigned

Changed 2 months ago by asic512

Screenshot of gnome-chess opened with x11

comment:3 Changed 2 months ago by asic512

Thank you for your answer. I have added a screenshot of gnome-chess with wrong background. Note that the background looks grey in the .png file but it is in fact black on my screen! Moreover if I take a screenshot when gnome-chess looks fine, I got exactly the same picture (grey background).

comment:4 Changed 2 months ago by mascguy (Christopher Nielsen)

Cc: mac57 added

comment:5 Changed 2 months ago by mascguy (Christopher Nielsen)

Summary: Problem with gtk3 or gnomegtk3: windows displayed as all black

comment:6 Changed 2 months ago by mascguy (Christopher Nielsen)

I did some digging through upstream's issues, and I didn't see anything related to black windows for X11. There were such issues with Quartz, but those appear to have been fixed a year ago.

So I'm not sure where to go from here. Thoughts anyone...?

comment:7 Changed 2 months ago by mascguy (Christopher Nielsen)

Summary: gtk3: windows displayed as all blackgtk3: windows displayed as all black, for x11 install

comment:8 Changed 6 weeks ago by asic512

I should add that I work with XQuartz 1.20.11. Is there any known problem with gtk3? I should also add that a white background keeps white while a grey background becomes black after moving the mouse. Can I fix this configuring differently gtk3? Anyway most of the icons look strange.

comment:9 Changed 11 hours ago by LenoreHorner

Discussion at https://github.com/XQuartz/XQuartz/issues/31 suggests XQuartz 2.8.3_rc1 plus setting defaults write org.xquartz.X11 enable_render_extension 0 might fix the problem (or might make things cripplingly slow). I can (barely) read Gnucash through this, but it's quite painful and I'd love to see a fix. What can I do to help?

comment:10 Changed 11 hours ago by LenoreHorner

The defaults write does not fix things for me on M1 on Ventura using xorg-server that I just checked for updates today.

Note: See TracTickets for help on using tickets.