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 392860 - X Composite-friendly RGBA transparency
X Composite-friendly RGBA transparency
Status: RESOLVED FIXED
Product: xchat-gnome
Classification: Other
Component: general
HEAD
Other All
: Normal enhancement
: ---
Assigned To: xchat-gnome maintainers
xchat-gnome maintainers
: 505655 550901 565958 (view as bug list)
Depends on:
Blocks: 602311
 
 
Reported: 2007-01-04 20:09 UTC by Sebastian Breier
Modified: 2011-06-21 22:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of gnome-terminal's transparency (36.98 KB, image/png)
2007-01-04 20:12 UTC, Sebastian Breier
  Details
Patch (8.60 KB, patch)
2010-05-14 16:21 UTC, Maia Everett
none Details | Review
Patch v2 (8.64 KB, patch)
2010-07-18 10:29 UTC, Maia Everett
committed Details | Review

Description Sebastian Breier 2007-01-04 20:09:30 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. ;)
Comment 1 Sebastian Breier 2007-01-04 20:12:17 UTC
Created attachment 79406 [details]
Screenshot of gnome-terminal's transparency
Comment 2 David Trowbridge 2007-01-04 20:50:13 UTC
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 :(
Comment 3 Michel Dänzer 2007-01-19 10:02:47 UTC
This isn't specific to AIGLX but to the Composite extension, so maybe the title should be changed to something like 'Composite compatible translucency'.
Comment 4 Boyd Timothy 2007-11-05 22:37:32 UTC
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.
Comment 5 David Trowbridge 2007-11-05 22:50:53 UTC
That was a bug that was fixed since 0.16, and is unrelated to this enhancement request.  Please upgrade to a recent version.
Comment 6 Laurent Bigonville 2007-12-26 02:17:03 UTC
*** Bug 505655 has been marked as a duplicate of this bug. ***
Comment 7 Christian Persch 2008-09-04 21:56:01 UTC
*** Bug 550901 has been marked as a duplicate of this bug. ***
Comment 8 Ritesh Khadgaray ( irc:ritz) 2009-11-18 19:17:33 UTC
*** Bug 565958 has been marked as a duplicate of this bug. ***
Comment 9 Maia Everett 2010-05-14 16:21:37 UTC
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.
Comment 10 Maia Everett 2010-07-18 10:29:02 UTC
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.
Comment 11 Ritesh Khadgaray ( irc:ritz) 2010-09-12 02:59:56 UTC
Review of attachment 166108 [details] [review]:

looks good. committing.
Comment 12 Ritesh Khadgaray ( irc:ritz) 2010-09-12 03:25:05 UTC
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.
Comment 13 Jeremy Nickurak 2010-11-28 06:33:43 UTC
Is it intentional that other GTK decorations become transparent with this patch? I would have thought just the xchat text area would be transparent.
Comment 14 Jeremy Nickurak 2011-03-20 18:54:52 UTC
For that matter, with this patch enabled, and transparency turned off in the preferences, the rest of the window is still transparent here.
Comment 15 Jeremy Nickurak 2011-06-21 22:45:59 UTC
Not seeing that behavior any more. But the tint slider doesn't work anymore...