GNOME Bugzilla – Bug 401726
Specifying button backgrounds in a theme is broken when using non-standard button layout
Last modified: 2016-06-24 13:15:21 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.
Created attachment 107879 [details] The theme mentioned above (GPL) (Attaching this theme in case the remote copy goes away)
Confirmed. Weird. Will investigate when I've triaged a few bazillion other bugs, but it does definitely need seeing to.