Description of problem: If you change titlebar button layout (eg to mac alike arrangement) when using Nokoda Gnome theme, light blue button background will no follow change, instead it will remain on right side (eg under icon of window menu). Button hover effect is also lost. How reproducible: always Steps to Reproduce: 1. Open Gnome Configuration Editor 2. Find /apps/metacity/general/button_layout 3. Change it to: close,maximize,minimize:menu Actual results: as in attached screenshot Expected results: button background & effects will follow their placement
Created attachment 259471 [details] A screenshot of a problem in Nokoda theme
Thanks for the report. I am aware of this problem and until now I was unsure as to how to approach it. The problem arose as a result of the want to have all the buttons joined. I reworked the metacity to have the buttons together, but not joined, I'll attach a screenshot of the proposed solution for your considering.
Created attachment 262861 [details] Proposed solution 1
As far as I can see there is still one problem, borders inside button block are two times wider then outside of it. I'm not familiar with theme creation but this seems to be an affect of using borders as splitters, right? Would it be possible to eliminate borders from buttons backgrounds, put button background (gradient) in button image file and use background to create borders with collapsing margins between buttons (if CSS like), or some oder trick? I don't think that it is good idea to break things for most of users. (as in solution#1)
Created attachment 263371 [details] Solution 2 There are two basic things how can you do a button layout and both has their drawbacks: 1. you specify the backgrounds according to position of the button, which is the original implementation - it however is fixed to the window and leads to this bug 2. you specify the background for each button, which leads to the problem in solution#1 - i.e. the borders are for each buttons and that results in the effect of thicker line between buttons, I tried to get rid of that effect as much as possible, but it seems quite hard to achieve. I attach another try, the look is not final, but suggests the way I'd like to take.
(In reply to comment #5) > I attach another try, the look is not final, but suggests the way I'd like to > take. I think it is much better one. Do You plan somehow to draw left border only for the first button on each side?
fixed in rawhide