Apache OpenOffice (AOO) Bugzilla – Issue 55417
Multiple X11 displays results in incorrect behavior
Last modified: 2007-05-31 15:41:53 UTC
This issue is manifested when OpenOffice is used on a computer with more than one X11 display. It can easily be seen by using VNC to create an additional X11 display. The general problem is that the user is unable to launch two instances of OpenOffice, one on each X11 display. Instead, the program opens a new window in the existing process. It seems like the running instance detection algorithm is using only the username to find the current instance. Instead, the instance should be tied to both the username and X11 display. Here are the steps to reproduce this problem: 1) Launch a VNC server with an Xterm 2) Connect to it using a VNC client 3) Using the VNC xterm, launch oowriter 4) Go outside the VNC client to a normal Xterm 5) Launch oowriter At this point, OpenOffice detects that there is an instance running under the same username and launches another oowriter inside the VNC server. This is not the desired behavior, since the user may have wanted to have instances both inside and outside the VNC server. I have not had a chance to look at the startup code, but I would suspect that it is a relatively straightforward change to have OpenOffice look at both username and $DISPLAY to determine whether or not to open a new instance. The issue is present in both the 1.x and 2.x series.
.
How is this "status: unconfirmed", after being in here for over 6 months?!?!?! Come on people.. this is a definate bug, and its a very annoying one. I have two monitors attached to my workstations for a reason: I like seeing documents side-by-side, on two separate displays, :0.0 and :0.1 Please fix this bug soon :-(
This issue is unconfirmed because nobody has confirmed yet. Pretty simple, isn't it? Issues don't just get confirmed if they are old enough. And I won't state that this is a defect. That's how OOo works. Maybe it's misdesigned but I think it works as designed. So at least this issue shouldn't be a defect but an enhancement.
Taking over
Target set.
This is not a defect it's by design. Yes, I share your opinion that the behavior should be changed. OOo uses username + user installation path to detect an already running office process. Currently there's a workaround starting soffice with -env:INIFILENAME=mydifferent_bootstraprc where you define a different user user installation path.
The issue will be adressed along with faster loaders that should set a meaningful context which params are used for process detection. Including $DISPLAY was what I'm thinking about for "normal" desktop usage of OOo but there are some other scenarios where $DISPLAY should be ignored. *** This issue has been marked as a duplicate of 60696 ***
Closing duplicate