GNOME Bugzilla – Bug 91976
[Multihead] Only one instance of gedit can be invoked
Last modified: 2004-12-22 21:47:04 UTC
Solaris 8 fcs multihead - non - xinerama Gnome SUN beta2 build 4. Select applications, accessories, text editor on screen 0. gedit is launched. on screen 1 select applications, accessories, test edit. gedit cannot be invoked twice. Result, a user in a multihead environment cannot have the application open on all screens.
Try to run gedit --new-window and lemme know if this solves your problem.
Robert: ?
Open gedit on screen1, goto screen 2 type gedit --new-window expected result:- gedit should open on screen 2 actual result gedit opens on screen 1 Similarly (first close all gedit windows) Open Gedit on screen2 goto screen 1, type gedit --new-window Expected result gedit launches on screen1 actual result gedit launches on screen2
Paolo: the easy way to fix this is to have a seperate instance of gedit per screen ... to do that you just need to make sure you create an AID for bonobo-activation using bonobo_activation_make_registration_id(). This will given you a different AID per screen .. gnome-terminal does this the right way if you want to poke at the code there ...
Mark: thanks James: could you try to fix it? You know... CORBA stuff is your field :)
Hey Paolo: here's a patch to do what I said. Okay to commit to HEAD ?
Created attachment 12112 [details] [review] said patch
Created attachment 12113 [details] [review] a patch that actually works .. sigh
Mark: please commit to HEAD. Thanks.
2002-11-07 Mark McLoughlin <mark@skynet.ie> * gedit-application-server.[ch]: (gedit_application_server_new): Register a new factory per-screen. A lot easier than implementing multiscreen support :-) Fixes #91976. * gedit2.c: (main): upd.