Re: GEP 12: Bonobo Unique Application

Havoc Pennington <[email protected]>
Newsgroups gmane.comp.gnome.components
Message-ID <[email protected]>
On Thu, Apr 24, 2003 at 06:18:13PM +0100, Michael Meeks wrote:
> 
> 	http://developer.gnome.org/gep/gep-12.html
> 
>         Comments welcome,
> 

FWIW this seems to address the easy part of the gnome-terminal factory
code, but not the hard parts. 

Some hard parts are:

 - the argument parsing; forwarding args in a way that makes sense
   seems to be a total nightmare. Worse, forwarding environment
   variables. Between gtk_init(), gnome_program_init(), popt, 
   etc. this is a real pain.

 - multiple display/screen handling, forwarding --screen for example
   (forwarding --display is probably crack because GTK can't shut down
   a GdkDisplay and Xlib won't let apps survive a display vanishing,
   but you need to autodisable the app service when --display is given
   at least). Forwarding --screen and the screen part of DISPLAY
   should definitely happen though.

 - is the app service per-login-session?  (Not global, or per-display)

It'd be interesting to look at how KUniqueApplication addresses these
issues.

Havoc
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.