Re: Gnome session mgmt vs WindowMaker-gnome session mgmt (Debian Potato)



On 7 Jun 1999, Miguel de Icaza wrote:

> 
> > Right -- the problem is that GNOME doesn't do it quite as
> > well... (i.e.  doesn't place apps in the proper workspaces, just
> > everything in the root, irregardless of where it was when the session
> > was checkpointed...)
> 
> this is a bug in the window manager.
> 
> Your window manager should have session support and restore
> applications in the right spot.

Which is easier said than done.  I know, I've whinged about this before...

As I understand it, all the Window Manager has to go on when is restoring
windows is the title of the window, and its class.  So what happens if,
for example, I make a session aware app that has multiple instances open
on different workspaces, but with identical titles?  How does the Window
Manager know which one to put where?  I am not being difficult - I would
honestly like to know how I am supposed to code this.

On a similar point, gmc always starts up with a nasty little window, which
I have to resize every time I open up my home directory (or whatever).
Last time I raised the point I was told that this was the Window Manager's
problem.  How's that then?  I'm not talking about saving the position of a
window at the end of a session.  I'm talking about restart gmc several
times within a single session.  Surely it is up to gmc to remember what
size the users wants her home directory to be?

Am I being stupid?  I'm just a bit tired of hearing "oh that's the window
manager's problem" on this list.  There are a lot of keen window manager
programmers out there eagerly trying to make their wm fully gnome
compliant.  If it was made clear how you were supposed to do this session
management business properly, I think a lot more of them might get it
right...

yours,

Paul



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