Re: Galeon 1.2.7 patch replacing --server with --resident

Jean-Yves Lefort <[email protected]>
Newsgroups gmane.comp.web.galeon.devel
Message-ID <[email protected]>
On Mon, Jan 20, 2003 at 10:04:58AM +0100, Christophe Fergeau wrote:
> > The File->Exit
> > functionality is supposed to be consistent across modes: server and
> > !server must behave the same.
> 
> You can see it that way... For my part, I consider --server to mean
> "never ever exit totally galeon even if I'm closing all windows or if I
> choose exit".

That requires users to interact with Galeon using the command line
(having to issue a "galeon --quit" when they want to finish the
program). I thought Galeon was a GUI application.

> I really find it very confusing to do different things depending on
> whether you choose quit or you hit ctrl+w in the last window.  Why
> wouldn't ctrl+w mean "close the current window or do the same thing
> as file/exit if this is the last one" ?

$ galeon --help | grep -A 1 resident
  -r, --resident                 Don't exit Galeon when the last window is
                                 closed

Because --resident is being very explicit regarding what it does.
Omitting the flag, you can still have the behaviour you describe.
Users are free to not "get confused" and not use --resident.

Imho, that's the actual server mode which is being confusing: one
expects File->Exit to exit the program, as its documentation states.

> > Conclusion, to be able to bind Galeon to one wm action only, someone
> > needs a session manager (you are not sure, though ;), or the
> > --resident flag. Isn't removing a dependency a valuable thing?
> 
> Imo a better solution would be to make galeon not crash.

Good luck. While you are at it, also make it not leak memory, and
contact the vendors of the plugins to ask them to do the same. ;)

> , or to modify a little --server (making it not respawn a new galeon
> if there is already one running, and making it work with
> --new-window seems better than adding another starting option to
> hide some not perfect galeon behaviour)

No. --resident is not made as a kludgy hack to hide some not perfect
Galeon behaviour: that's a side effect it achieves, and, well, good.

Also, no startup option is added: --resident replaces --server.

On the other hand, I agree with you, there is no technical advantage
of "--resident" over your "--server --new-window" (besides perhaps
some simplicity added, but okay, some users might want to start a
galeon --server without any new window, not possible using
--resident).

Still, reason mandates File->Exit to be coherent.

Cheers,
Jean-Yves Lefort

-- 
Jean-Yves Lefort

[email protected]
http://lefort.be.eu.org/
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+LB6AyzD7UaO4AGoRAvhlAJ9z8/lnHGkXfdrWXsiU34Z2daAdbQCfX3Da
uyaG89MHQ5Hwin363nIu6Os=
=DpxL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.