Issue 62847 - OOo (OS X, X11 version) doesn't start if Lexmark X1100 printer installed
Summary: OOo (OS X, X11 version) doesn't start if Lexmark X1100 printer installed
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: OOo 2.0
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0.4
Assignee: eric.bachard
QA Contact: issues@porting
URL:
Keywords: oooqa
: 63605 (view as issue list)
Depends on:
Blocks: 67331
  Show dependency tree
 
Reported: 2006-03-07 03:19 UTC by jdoxey
Modified: 2008-05-16 03:33 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jdoxey 2006-03-07 03:19:00 UTC
When running OpenOffice 2.0.0 (X11 version) on Mac OS X (10.4.2), the startup script (main.applescript) 
doesn't start X11 if the Lexmark X1100 printer software is running.  This happens because the script 
assumes that no other process will contain the string "X11" while it is checking to see if X11 is already 
running.

As a temporary fix I was able to get OpenOffice running by changed the line,
    set now_running to do shell script "INX=`ps -wcx | grep  \"" & whichserver & "\"`; echo $INX"
in the method "startXServer()" to,
    set now_running to do shell script "INX=`ps -wcx | grep  \"" & whichserver & "$\"`; echo $INX"
Comment 1 shaunmcdonald131 2006-03-09 10:52:26 UTC
As the X11 process name doesnot contain anything other than X11, then there
shouldn't be a problem integrating this fix.
Comment 2 jjmckenzie 2006-03-12 02:12:54 UTC
Issue has been confirmed and a fix proposed.  Changing issue status to new.

James
Comment 3 eric.bachard 2006-03-12 09:06:14 UTC
ericb@all

Thank you for the workaroound, because this sort of issue is not easy to track. 

FYI, main.applescript will change when macosxfondu will be integrated


ericb->obr 

What is your opinion ?
Comment 4 nospam4obr 2006-03-13 07:19:19 UTC
The fix looks good to me. IMO we should not wait for macosxfondu to integrate it
(but surely make sure macosxfondu doesn't break it again ;-)).
Comment 5 pavel 2006-04-15 19:07:02 UTC
Lets create cws for this and the other ~"X11" issue now, please.

Do we have to test for the already running X11 at all?

Can't we use open-x11 mentioned at
http://developer.apple.com/opensource/tools/runningX11.html?
Comment 6 moxfox 2006-04-15 20:02:24 UTC
I think the (current) macosxfondu cws will fix this issue also.

using open-X11 would be elegant, but it is not currently possible, because we
want to manually load keyboard extension while opening X11. I don't know if this
could be a setting to com.apple.x11 preferences, but maybe we do not want to
load this extension all the time, just for OpenOffice.org
Comment 7 pavel 2006-04-16 08:28:23 UTC
mox: yes, but we can sometimes start when X11 is already opened, so _kb doesn't
apply anyway... Yes, X11 is mess on Macs ;-)
Comment 8 moxfox 2006-04-16 08:40:04 UTC
Yes, but that is a different issue. 

The current scripts do not try to open X11 if it is already running. And it is
impossible to close X11 without killing all current programs running on X11.
Current situation is not the best, but I don't know how to make it better.
Comment 9 eric.bachard 2006-04-17 21:18:17 UTC
*** Issue 63605 has been marked as a duplicate of this issue. ***
Comment 10 pavel 2006-05-17 07:51:58 UTC
Is the original problem now fixed with macosxfondu2?
Comment 11 eric.bachard 2006-05-17 09:40:06 UTC
This issue is curretnly not fixed with macosxfondu2, but will in a next cws

Removing the dependency
Comment 12 eric.bachard 2006-05-17 09:58:54 UTC
set target to 2.0.4
Comment 13 eric.bachard 2006-07-02 17:41:00 UTC
fixed in macosxkbd 

Comment 14 florian 2006-07-13 18:40:48 UTC
Verified, fixed in cws macosxkbd
Comment 15 ace_dent 2008-05-16 03:33:17 UTC
This Issue is 'Verified' and not updated in 1yr+, so Closing.
A Closed Issue is a Happy Issue (TM).

Regards,
Andrew
 
Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~