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 100600 - Notification area doesn't support all the panel background types
Notification area doesn't support all the panel background types
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: notification area
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 162040 162047 164713 172933 309066 317735 318302 326687 330143 331930 332032 332619 337627 (view as bug list)
Depends on: 150726 306974
Blocks:
 
 
Reported: 2002-12-07 14:03 UTC by Hakon
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
initial transparency support (1.83 KB, patch)
2006-03-03 18:31 UTC, Frederic Crozat
none Details | Review
slightly better version (2.85 KB, patch)
2006-03-03 21:53 UTC, Dan Winship
none Details | Review
droolage (14.36 KB, image/png)
2006-03-03 22:00 UTC, Dan Winship
  Details
version working for HEAD (4.64 KB, patch)
2006-03-06 18:29 UTC, Frederic Crozat
none Details | Review
better version without my top secret debug code ;) (4.13 KB, patch)
2006-03-06 18:34 UTC, Frederic Crozat
committed Details | Review
Panel Properties (17.40 KB, image/png)
2006-03-17 03:11 UTC, Cristian Aravena Romero
  Details

Description Hakon 2002-12-07 14:03:21 UTC
The tray applet should have a transparent background. It seems to be set
strictly to the default grey, so now that I have colorized my panel, it
doesn't blend in, it appears as a large grey box on the colorized panel.
Comment 1 Mark McLoughlin 2004-02-04 10:03:00 UTC
Re-assigning to gnome-panel-maint. Apologies for the spam.
Comment 2 Vincent Untz 2004-12-23 06:21:33 UTC
*** Bug 162040 has been marked as a duplicate of this bug. ***
Comment 3 Vincent Noel 2004-12-23 17:00:57 UTC
*** Bug 162047 has been marked as a duplicate of this bug. ***
Comment 4 Vincent Noel 2005-02-16 03:00:53 UTC
Looks like this is not doable currently...
As explained by this email from Davyd :
http://mail.gnome.org/archives/desktop-devel-list/2005-February/msg00313.html
The notification area just gives some space to applications to draw their own icons. These icons draw 
their own backgrounds, and there's no way for them to know the current desktop background. The 
panel knows the background, but it can only pass it to actual applets...
So it's not solvable right now :-(
Comment 5 Vincent Untz 2005-04-07 17:17:44 UTC
*** Bug 172933 has been marked as a duplicate of this bug. ***
Comment 6 Danielle Madeley 2005-06-11 18:06:47 UTC
Marking this to get looked at, since there might be some code in bug 150726
Comment 7 Sebastien Bacher 2005-06-26 17:55:04 UTC
*** Bug 309066 has been marked as a duplicate of this bug. ***
Comment 8 Luis Villa 2005-07-10 04:34:16 UTC
Davyd: please use the gnome milestone field only for things that would block the
whole release. Thanks, duder...
Comment 9 Adam Schreiber 2005-10-02 12:58:34 UTC
*** Bug 317735 has been marked as a duplicate of this bug. ***
Comment 10 Sebastien Bacher 2005-10-03 08:12:19 UTC
*** Bug 164713 has been marked as a duplicate of this bug. ***
Comment 11 James Henstridge 2005-12-06 08:18:10 UTC
*** Bug 318302 has been marked as a duplicate of this bug. ***
Comment 12 David (djst) Tenser 2006-01-03 21:15:08 UTC
So this is impossible to fix with the current implementation? Is it possible to change the implementation then? :)

This is on top of the list of things making the gnome-panel "not pretty", with non-transparent panel handles coming on second place. Sorry for the bugspam, but it would really be nice to see this one fixed. 
Comment 13 Vincent Untz 2006-01-03 22:17:12 UTC
David: it's not an implementation issue, as I understand it. It's a spec issue.
Comment 14 Federico Mena Quintero 2006-01-09 20:18:48 UTC
See also https://bugzilla.novell.com/show_bug.cgi?id=135448 for the corresponding bug in Novell.  KDE does implement transparency for their systray icons; we should be able to do pretty much the same thing.
Comment 15 Federico Mena Quintero 2006-01-09 20:24:52 UTC
Fuck, what a mess of bugs.

Patches for the EggTrayIcon problem: bug #150726, bug #306974.  Has anyone tested them at all?
Comment 16 Danielle Madeley 2006-01-10 01:19:00 UTC
I understand that KDE implemented an extension to the spec laid out by Ryan Lortie, where you passed a pixmap of background data to the notification icon in an XAtom (exact terminology subject to correction).

His bug is bug #306974.
Comment 17 Allison Karlitskaya (desrt) 2006-01-10 01:25:50 UTC
This is not true.  I had a talk with Aaron Seigo earlier today and he did not implement the spec.
Comment 18 Danielle Madeley 2006-01-10 03:43:48 UTC
Ok. How did they implement it in the end?
Comment 19 Allison Karlitskaya (desrt) 2006-01-10 04:01:35 UTC
They didn't.  He has different ideas for KDE4 that are closer to using actual alpha transparency.
Comment 20 Danielle Madeley 2006-01-10 04:42:12 UTC
Ok. Evidently I misunderstood comment #14. It would be nice to do all of our transparency with real compositing if it is available.
Comment 21 Vincent Untz 2006-01-12 06:54:24 UTC
*** Bug 326687 has been marked as a duplicate of this bug. ***
Comment 22 Vincent Untz 2006-01-24 19:29:14 UTC
Mass changing: milestone 2.12.x => milestone 2.14.x
Comment 23 Sebastien Bacher 2006-02-07 22:42:46 UTC
*** Bug 330143 has been marked as a duplicate of this bug. ***
Comment 24 Daniel Holbach 2006-02-21 13:51:23 UTC
*** Bug 332032 has been marked as a duplicate of this bug. ***
Comment 25 Richard Hughes 2006-02-21 17:17:56 UTC
*** Bug 331930 has been marked as a duplicate of this bug. ***
Comment 26 Sebastien Bacher 2006-02-26 13:31:01 UTC
*** Bug 332619 has been marked as a duplicate of this bug. ***
Comment 27 Frederic Crozat 2006-03-03 18:31:29 UTC
Created attachment 60589 [details] [review]
initial transparency support

this patch is based on Dan patch for eggtrayicon.c.

It allows transparency to be set correctly initially. But expose event are not handled nor style changes.
Comment 28 Dan Winship 2006-03-03 21:53:31 UTC
Created attachment 60606 [details] [review]
slightly better version

Oops, I really wasn't planning to work on this when I made that comment on bug
150726, but then I realized it wasn't much work. :) Fortunately that means not
much duplicated effort too.

Here's my version of the patch, which is mostly the same, but also forces the
icons to redraw themselves at the right times.
Comment 29 Dan Winship 2006-03-03 22:00:36 UTC
Created attachment 60607 [details]
droolage
Comment 30 Frederic Crozat 2006-03-06 17:02:01 UTC
patch works fine, except for background update : try changing transparency for panel background.
Comment 31 Dan Winship 2006-03-06 17:58:46 UTC
Hm... I'm testing against gnome-panel 2.12, and the background updates fine.
If you're testing against HEAD, I know the background code has changed some
there. You just need to hide+show the contents of the tray any time the
panel signals the tray that its background has changed.
Comment 32 Frederic Crozat 2006-03-06 18:29:08 UTC
Created attachment 60777 [details] [review]
version working for HEAD

Improved version, based on Dan comment. It works fine with CVS HEAD !!
Comment 33 Frederic Crozat 2006-03-06 18:34:25 UTC
Created attachment 60779 [details] [review]
better version without my top secret debug code ;)
Comment 34 Brian G 2006-03-16 04:14:58 UTC
ok that .png rocks. now what? is this going to be implemented? 
Comment 35 Cristian Aravena Romero 2006-03-17 03:11:42 UTC
Created attachment 61408 [details]
Panel Properties
Comment 36 Sergej Kotliar 2006-04-07 14:46:19 UTC
*** Bug 337627 has been marked as a duplicate of this bug. ***
Comment 37 Jeff Schroeder 2006-04-14 13:45:44 UTC
Is this patch going to make it into 2.14.2? I really can't understand why something so small (~100 lines) and makes gnome-panel look sooo much better isn't already in CVS head.

The bug this patch fixes is my last big complaint with gnome-panel.
Comment 38 Sebastien Bacher 2006-05-01 19:03:20 UTC
I've applied the patch to the Ubuntu package of 2.14.1 and it makes no difference for the notification area icons, they are still used a solid color
Comment 39 Dan Winship 2006-05-01 19:12:35 UTC
Right, because EggTrayIcon also needs to be patched, in each package that uses it (bug 150726).
Comment 40 Matthias Clasen 2006-06-19 23:58:33 UTC
FWIW. GtkStatusIcon now has the equivalent patch to bug 150726
Comment 41 Vincent Untz 2006-08-10 22:26:26 UTC
I committed an enhanced version of the patch. I didn't connect to the expose event since it works without it and I don't think it's needed. Same for double buffering.

Also, the icons flicker when a new icon is added. I opened bug 350820 about this.
Comment 42 Dan Winship 2006-08-10 22:47:51 UTC
The expose event handler is definitely only needed if you turn off double
buffering. I forget what the non-double-buffering was for, but it was
needed in some case. Did you test with a variety of gtk themes? It might
only be needed for themes that do certain kinds of drawing.
Comment 43 Vincent Untz 2006-08-11 12:01:29 UTC
Dan: I tested with the themes I had, but it might not be enough, indeed. Do you remember for which theme it was needed?