Re: oaf multi-display support



On Fri Sep 22, 2000 at 05:36:24AM -0700, Maciej Stachowiak wrote:
-> 
-> Hi,
-> 
-> I made some changes in OAF to allow GUI components to behave sanely
-> when a single user is using the same component on multiple displays
-> (and also when oafd happens to have DISPLAY set differently than the
-> calling app). There was a bunch of internal mucking about, but the
-> short version is that oaf_activa_sever_register will now accept a
-> registration ID string of the form "DISPLAY,iid", for instance
-> "foo.bar.com:0,OAFIID:thing:line-noise", as well as just a plain
-> iid. If you pass only an iid, the server will be assumed
-> display-independent (so for instance gconfd shouldn't use this new
-> feature). You can also pass registration IDs of this form to
-> bonobo_generic_factory_new or _new_multi.
-> 
-> oafd will also pass DISPLAY properly from calling apps to launched exe
-> servers.
-> 
-> I will be changing nautilus and it's components to register this way
-> shortly, and sending patches for bonobo, eog and xpdf.


Uhmmm... is Bonobo supposed to work with this right now? I got the
latest stuff from cvs, but my (previously working) tests show
something like this: 

reload
Trying dir /usr//share/oaf
Trying dir 
Trying dir /usr/share/oaf
XXX - Getting active server
XXX - in od_get_active_server
XXX - in od_get_active_server 2
XXX - display != NULL
XXX - trying display active binnema,OAFIID:bonobo_ipctrl:228e2920-b3b0-4990-b7bF-7bda086c363b
XXX - trying active OAFIID:bonobo_ipctrl:228e2920-b3b0-4990-b7bf-7bda086c363b
XXX - Getting active server
XXX - in od_get_active_server
XXX - in od_get_active_server 2
XXX - display != NULL
XXX - trying display active binnema,OAFIID:bonobo_ipctrl_factory:63ea3e99-2b27-4700-9837-64a5306021da
XXX - trying active OAFIID:bonobo_ipctrl_factory:63ea3e99-2b27-4700-9837-64a5306021da

>From the description I gather that OAF should be looking for
     "foo.bar.com:0,OAFIID:thing:line-noise"
but 'binnema' in the above is my login name...


--Dirk-Jan.




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