situation with window decorations

Matthew Woehlke mw_triad at users.sourceforge.net
Fri Sep 4 19:09:18 BST 2009


Hugo Pereira Da Costa wrote:
> in the meanwhile I've been working on coding Thomas idea for an ozone 
> active window blue frame replacement
> (http://lists.kde.org/?l=kde-core-devel&m=125148666615682&q=p3)
> in my private version of the Nitrogen windeco.
> 
> I put a bunch of screenshots here (with left/right and center title 
> alignment, as well as with normal/tiny/no frame border).
> http://www.flickr.com/photos/42123798@N03/
> Comments would be highly appreciated.

> You'll note that the original "radial" glow from Thomas is gone

Do you mean on the colored portion of the title bar? I think of "radial 
glow" as the thing that is done to the root window (style as well as 
decoration), which needs to stay or else the title bar won't blend with 
the window contents.

, and has
> been replaced by something which look more oxygen-like, (I personnaly 
> find Thomas gradients a bit too "plastik" like to my taste), with a drop 
> shadow. In fact it uses the exact same code as the one used by oxygen to 
> make push buttons, combo-boxes, etc.

Well... it's upside-down. The idea was that this part should be *inset*, 
not raised, as if the window was made of two materials, one (on the 
bottom) colored and one not (well, window colored). What we have instead 
looks like an optical illusion.

I like to think of it as a piece of ceramic; the clay is window-colored, 
and the bottom half has been dipped in decoration-colored glaze (that 
magically gets onto anything below "window face" level). I find this 
much more consistent with my impression of Nuno's vision.

Also the top corners need to be rounded :-). (Because you need both 
concave and convex corners, I think you need to be stealing the tab 
drawing code.)

The one thing I *don't* like is the entire frame being colored. I prefer 
the current state, which is just the outer edge colored. Again this goes 
with the concept of the bottom part being a different color.

For larger border sizes I think it would be awesome to have a two-step 
edge, like this (think of this as side cross-section):

         window color -->    /------- [ · · · face of window · · · ]
                       /-----|
decoration color -->  |

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
"Yoda of Borg am I. Futile is resistance. Assimilate you, I will."
   -- from http://en.wikipedia.org/wiki/Wikipedia:Yet_more_Best_of_BJAODN





More information about the kde-core-devel mailing list