[Epiphany] Re: Window placement





On Mon, 2003-05-05 at 19:02, David Adam Bordoley wrote:
> Well there is a general usability principle called spatial orientation. The 
> idea is that if you put something somewhere, it should remain there. this 
> works very well for unique windows (ie property windows, bme, history 

What's wrong with just saving the window size and letting the window
manager worry about position? :)

Seriously, yes, spatial orientation is important, but in the X11 world,
it _really_ is the window manager's job to handle that. IT should
remember where it positioned a specific window earlier, and some WMs
indeed do, sawfish for example. I don't think metacity does, but that
could be considered a bug. A quick search in bugzilla reveals Havoc
disagrees with me, at least on short-term, but apparently more because
he thinks the wm<->app communication is too limited than because it's
better for the app to do it. There is a patch for metacity:

http://bugzilla.gnome.org/show_bug.cgi?id=81802

Why is it the window manager's job? Because spatial orientation is
important for all windows, not just for Epiphany. What ephy needs to do
is make sure there are enough hints for the WM to do its job - ie,
provide a different class name for different classes of windows, mainly.

> window), but probably isn't as great for the main view window, since it 
> isn't unique. I'll talk to marco about adding a save position flag to 
> ephy-state to save position of only some windows. 

Crack! Decide what's right, and implement that well.

-- 
Osma Ahvenlampi <oa@iki.fi>

This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]