GNOME Bugzilla – Bug 392860
X Composite-friendly RGBA transparency
Last modified: 2011-06-21 22:45:59 UTC
The "transparent background" option in xchat-gnome doesn't result in real transparency in AIGLX. I know that the option never was supposed to give users real transparency, but gnome-terminal has the same option and real transparency when AIGLX is used. Maybe xchat-gnome could implement the same way of doing transparency as gnome-terminal does, thus making the app look better on GL desktops. Just something small I noticed in my daily xchat-gnome usage. Not important, but nice to have. ;)
Created attachment 79406 [details] Screenshot of gnome-terminal's transparency
Believe me, this has been on my wanted list for a while. I've started trying to clean up the text-display widget from xchat, but it's a huge job :(
This isn't specific to AIGLX but to the Composite extension, so maybe the title should be changed to something like 'Composite compatible translucency'.
Enabling transparency in xchat-gnome-0.16 is actually causing crashes in X Window in openSUSE 10.3. The original bug is: https://bugzilla.novell.com/show_bug.cgi?id=325570 I'm upgrading this from an enhancement to major. I've compiled latest from SVN and it also has the same problem. I tried traversing through xtext.c but can't seem to pin it down to the specific call(s) causing the problem. It all starts with the "gtk_xtext_set_background()" call in conversation-panel.c.
That was a bug that was fixed since 0.16, and is unrelated to this enhancement request. Please upgrade to a recent version.
*** Bug 505655 has been marked as a duplicate of this bug. ***
*** Bug 550901 has been marked as a duplicate of this bug. ***
*** Bug 565958 has been marked as a duplicate of this bug. ***
Created attachment 161075 [details] [review] Patch Patch here. Might also want to clean up all the GDK and Xft mess from xtext.c, and use only Pango and Cairo (as well as all the #ifdef WIN32 stuff). This patch is as minimalistic as I could made it, but ideally we would want Cairo to do all the drawing.
Created attachment 166108 [details] [review] Patch v2 Slightly modified patch, with just another cairo_save/cairo_restore pair added to fix text rendering with Nouveau 3D.
Review of attachment 166108 [details] [review]: looks good. committing.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Is it intentional that other GTK decorations become transparent with this patch? I would have thought just the xchat text area would be transparent.
For that matter, with this patch enabled, and transparency turned off in the preferences, the rest of the window is still transparent here.
Not seeing that behavior any more. But the tint slider doesn't work anymore...