GNOME Bugzilla – Bug 147508
Fix for translucent dialogs
Last modified: 2004-12-22 21:47:04 UTC
I just tried the 0.30pre version, and found the really nifty --translucent flag. Since I've been playing around with the freedesktop.org X server anyway, this was really cool! Unfortunately, if the --translucent flag is given with the freedesktop.org X server, popups and dialogs come up (almost) invisible (as is noted in the code, this is because GTK doesn't understand translucent visuals). I am attaching a patch which fixes this problem by switching to a "normal" visual before displaying popups, configurators, or message boxes. An arguably more correct way to fix this problem would be to turn on the translucent visual only for elements which we know can handle it, instead of turning it on globally and then selectively turning it off, but I'm not yet familiar enough with the code to be comfortable implementing that approach. In any case, this patch is probably much simpler, and fixes the main problem (for the moment, at least).
Created attachment 29510 [details] [review] Fix for --translucent problems with dialogs
That looks good. Thanks. Maybe we can do it the other way round and only push the translucent visual for creating the display window. That ought to be enough.
*** This bug has been marked as a duplicate of 147618 ***
(fuck, sorry, bugzilla browsing trapped me)
I have just installed Xorg 6.8.0 and tried pushing the visual for creating the display windows only. It works perfectly and dialogs and menus are no longer broken. I will commit this to CVS within the next few days.