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 401726 - Specifying button backgrounds in a theme is broken when using non-standard button layout
Specifying button backgrounds in a theme is broken when using non-standard bu...
Status: RESOLVED OBSOLETE
Product: metacity
Classification: Other
Component: themes
2.15.x
Other All
: Normal major
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2007-01-28 16:35 UTC by Marcus Lundblad
Modified: 2016-06-24 13:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
The theme mentioned above (GPL) (9.67 KB, application/x-gzip)
2008-03-23 18:44 UTC, Thomas Thurman
Details

Description Marcus Lundblad 2007-01-28 16:35:52 UTC
Please describe the problem:
Specifying button backgrounds to be drawn specifically for buttons on the left side and on the right side for pressed state is broken when using another button layout than "menu:minimize,maximize,close".

Steps to reproduce:
1. 
Install the following theme
http://www.update.uu.se/~ml/metacity-pos-theme-0.1.tar.gz
2. 
Select the theme, it's name is pOS
3. 
Change the button layout (using gconf-editor) to "close:minimize,maximize"
4.
Press the close button on a window (this button is now to the left). The right-most button is affected...


Actual results:
The button background drawing operation is applied to the wrong buttons.

Expected results:


Does this happen every time?
Yes

Other information:
For the various frame styles I have these specifications:

    <button function="left_middle_background" state="normal" draw_ops="button_bg_left"/>
    <button function="left_middle_background" state="pressed" draw_ops="button_bg_left_pressed"/>
    <button function="right_middle_background" state="normal" draw_ops="button_bg_right"/>
    <button function="right_middle_background" state="pressed" draw_ops="button_bg_right_pressed"/>

I also tried to specify tags for all functions (left_left, left_right, right_left, right_right), but it still is broken.
Comment 1 Thomas Thurman 2008-03-23 18:44:57 UTC
Created attachment 107879 [details]
The theme mentioned above (GPL)

(Attaching this theme in case the remote copy goes away)
Comment 2 Thomas Thurman 2008-03-23 18:53:49 UTC
Confirmed.  Weird.  Will investigate when I've triaged a few bazillion other bugs, but it does definitely need seeing to.