patrickjdempsey wrote:Well my bright idea about using the fullscreen windows-control buttons doesn't work because it turns out that the "Restore" button just acts like a "fullscreen toggle" and you will end up in an endless loop switching between Maximize mode and Fullscreen mode. It really is too bad because the XP window-control buttons look terrible sitting on a light-grey background... so I guess I'll just make a little blue box for them to sit on. I'm still not sure how the window-control buttons are supposed to show through a solid-colored toolbar... mcdavis mentioned something about cutting the buttons through from behind... but I'm guessing he's just talking about the Firefox window element?
Patrick - The deal with the transparency is this:
1 - if you're running on glass, and you have either -moz-appearance: -moz-window-button-box/-moz-window-button-box-maximized on the #titlebar-buttonbox, AND you're using either -moz-appearance:-moz-win-glass /-moz-win-borderless-glass on #main-window, then #titlebar-buttonbox defines a transparent region in which Firefox draws exactly nothing. Whatever Firefox chrome is over that area simply doesn't get drawn. What you see there is whatever is under/behind that region. (Alfred puts that -moz-appearance on #titlebar-buttonbox-container, and it seems to get the same result, so maybe that works on any element.)
2 - you pretty much have to use -moz-appearance: -moz-win-glass / -moz-win-borderless-glass on #main-window when you're on glass, otherwise you get raggedy-looking square corners on the window frame on top. also, min/max/close stop working.
If you want to go without -moz-appearance: -moz-window-button-box/-moz-window-button-box-maximized on the #titlebar-buttonbox, and just cover it over with your color and background, I think you can, with the following side effects:
1 - the system-drawn min/max/close buttons are still there, you just dont see them
2 - the system-drawn min/max/close buttons still work, and they define the hot spot for clicking on them (you can't move them)
3 - if you put your own icons over top of them, you can, but again you can't move teh hot spots
4 - the system-drawn min/max/close buttons still glow when you hover them, and you'll still see the glow above the top edge of your background color
5 - you'll still see part of the close button peeking out from behind your background, on the right, in the window frame
As I understand it. I hope that helps.