GNOME Bugzilla – Bug 305209
menu-bar doesn't tile background image
Last modified: 2006-01-02 14:20:11 UTC
The menubar applet uses the background of the gnome-panel. Case 1: The background image of the panel has an alpha chanel. In this case the panel will create an pixmap of the panel size, to composite the background on top of the panel. Case 2: The background image has no alpha chanel. In this case the panel will use it directly as the background image, and it will be tiled in the panel. The menu-bar however doesn't tile the background image. This results in random stuff beeing displayed (maybe you can see part of the background if the menu-bar is at the top/left). The attached patch fixes this behavior, by tiling the panel background on the background of the menu-bar. It takes the position on the menubar into account, so that the backgrounds are aligned to each other.
Created attachment 46794 [details] [review] my patch
This is weird: the problem only occurs the first time you use the tiled background. If you change the background, it works fine. So I'm not sure your patch is needed. I'll investigate to look if it is.
Okay, so, it happens for everything in the panel, not just the menu bar. I have a partial fix. And we have an old bug about this :-) *** This bug has been marked as a duplicate of 164349 ***