Comment 40 for bug 532224

Revision history for this message
AbelChiaro (abel-chiaro) wrote :

@Umang: The theme should draw the buttons the same way regardless of which side of the title bar they are, in order to support both common use and Lucid’s new default settings. So, I made it to draw the trough on both sides, but in doing so I stumbled on one of Metacity’s limitations: it will always paint a {left,right}_left_background beneath a single button, instead of having, say, a {left,right}_single_background function for such cases.

Without that, the only way for the themes to support flawlessly both “menu:minimize,maximize,close” and “maximize,minimize,close:” is to have two versions of each: say, “Normal” and “Lucid” versions for both, which for me isn’t really an option.

However, there’s a compromise, and it was the option I chose: since the window menu can be accessed by right-clicking *anywhere* on the title bar, it is not lost if you use “:minimize,maximize,close” instead.

I do agree that a compromise isn’t really a solution, but we can’t do much with Metacity’s shortcomings. I’ll download its sources later to see if I can give it a shot, but I don’t expect to solve it there.