Opened 8 months ago
Last modified 25 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, LenoreHorner, Akkiesoft (Akira Ouchi) |
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)
Change History (15)
comment:1 Changed 8 months ago by mascguy (Christopher Nielsen)
comment:2 Changed 8 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: | new → assigned |
Changed 8 months ago by asic512
Attachment: | Capture d’écran 2022-09-24 à 22.22.24.png added |
---|
Screenshot of gnome-chess opened with x11
comment:3 Changed 8 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 8 months ago by mascguy (Christopher Nielsen)
Cc: | mac57 added |
---|
comment:5 Changed 8 months ago by mascguy (Christopher Nielsen)
Summary: | Problem with gtk3 or gnome → gtk3: windows displayed as all black |
---|
comment:6 Changed 8 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 8 months ago by mascguy (Christopher Nielsen)
Summary: | gtk3: windows displayed as all black → gtk3: windows displayed as all black, for x11 install |
---|
comment:8 Changed 7 months 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 6 months 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 6 months 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.
comment:11 Changed 6 months ago by LenoreHorner
Cc: | LenoreHorner added |
---|
comment:12 Changed 6 months ago by asic512
I use GNU Emacs 28.2: no problem. I use Nautilus: black issue (even if I can see the list of files). I use Evince: black issue for the menus but the pdf is OK. So the problem seems to come from gtk. My Windows Manager is IceWM.
comment:13 Changed 3 weeks ago by Akkiesoft (Akira Ouchi)
Cc: | Akkiesoft added |
---|
comment:14 Changed 25 hours ago by tcwan (TC Wan)
Ventura 13.4, on Mac Mini M2, with XQuartz 2.8.5.
MacPorts 2.8.1, with latest gtk3@3.24.38_0+x11, still exhibits blacked out windows for gnucash@5.0_1. When starting gnucash, the main window will display correctly, though the menu items are inverted (gray text on black). However, once I open an account tab, the new tab would be black, and occasionally I can get it to revert to white background by fiddling around with clicking on a row and moving the mouse. It will rever to black once I do something in the window.
Were the patches to fix the gtk3 blacked out windows incorporated into 3.24.38_0? Or is the gnucash behavior due to some other issue? evince displays the menu items correctly. Similarly with dia, though the x-y rulers where the pixel coordinates are displayed will become black when the mouse is moved around.
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).