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 305209 - menu-bar doesn't tile background image
menu-bar doesn't tile background image
Status: RESOLVED DUPLICATE of bug 164349
Product: gnome-panel
Classification: Other
Component: general
2.10.x
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-23 13:19 UTC by Benjamin Berg
Modified: 2006-01-02 14:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
my patch (1.36 KB, patch)
2005-05-23 13:20 UTC, Benjamin Berg
none Details | Review

Description Benjamin Berg 2005-05-23 13:19:40 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.
Comment 1 Benjamin Berg 2005-05-23 13:20:14 UTC
Created attachment 46794 [details] [review]
my patch
Comment 2 Vincent Untz 2005-12-29 18:46:27 UTC
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.
Comment 3 Vincent Untz 2006-01-02 14:20:11 UTC
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 ***