On 4/3/07, Yen-Ju Chen <[EMAIL PROTECTED]> wrote:
On 4/3/07, Jesse Ross <[EMAIL PROTECTED]> wrote:
> >> Actually, I wish that non-focused windows would be slightly
> >> transparent, slightly greyed out, or both. It would make it more
> >> obvious which window was focused, instead of just haaving the tiny
> >> sliver of a title bar. Anyways, this is a feature request
> >> regardless of whether we have title bars or not, but with it, you
> >> could tell which window is focused without a title bar.
> >
> > I agree here. On OS X, I've found recently that I keep typing
> > things in the wrong window because, without paying attention, I
> > don't have enough visual clues to see which one is active. The
> > shadow is nice, if you are looking at the border, and the title bar
> > is okay, if you are looking at the top of the screen.
> >
> > Some basic knowledge of the human visual system tells us that the
> > eye can only see a small amount clearly, and the brain makes up the
> > rest. On a decent sized screen, the small amount that is in focus
> > can be smaller than the size of a window, meaning that the shadows
> > and the titlebar can fall outside the bit your brain can see (as
> > opposed to make up). If you are expecting the window to have
> > focus, your brain will fill in the visual clues, even if they are
> > not there. If the windows are slightly faded / translucent, then
> > you will be able to tell if a window is active wherever you are
> > looking in it.
>
> And now we see where Yen-Ju's recent transparency code makes perfect
> sense.
>
> Yen-Ju, how hard would it be do make all non-focused windows at, say
> 60% opacity?
I just read some document yesterday and there are two ways,
a quick one and a better one.
In any case, you need the composite extension from x.org.
I found this article useful for users:
http://gentoo-wiki.com/TIP_Xorg_X11_and_Tranparency.
In term of implementation, I have a not-near-future plan.
First, I need to make Azalea use Cairo for drawing instead of core X
protocols.
Second is that I have to decide where to put the composite stuff.
I can either put it in Azalea, which I prefer not to,
or put it in a separated application which work with Azalea,
as what AZDock does now, probably call it AZComposer.
After a second thought, these two things are not that related,
but the order is what I plan to work on.
In terms of dim unfocused window,
a couple things I would like to clarify:
1. For GNUstep, we have to keep main menu and app icon non-transparent.
How about other unfocused documents from the same application ?
In other word, do we want transparency based on window or based on
application ?
2. Arguments above apply to non-gnustep application, too.
When there are several firefox window in the front,
do we make one of then non-transparent or all of them ?
Again, it is a question of window-based or application-based behavior.
Since GNUstep is an application-based behavior,
do we want to make xwindow application also mimic
application-based behavior ?
3. Do we want to have non-transparency follow the mouse ?
4. Do we change transparency with window switcher (Alt+Tab) ?
5. How about shadowed window (the one has only title bar) ?
Yen-Ju
>
> J.
>
>
>
>
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
>
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss