Apache OpenOffice (AOO) Bugzilla – Issue 61056
Add X11 check on OOo.app start
Last modified: 2008-05-16 03:32:30 UTC
It would seem that the script main script within the droplet for the Mac OS X build of OOo2 has had a debug line that was commented out for use in testing when a XServer was not available. I would like to propose that this line to be expanded, to be more meaningful to most users, to give them a explanation of why they cannot run OOo on the Mac, and what they can do to run OOo on the Mac. Look for " if whichserver = "NOXSERVER" then --display dialog "No XServer Found" set now_running to "Skip" end if " And change it to " if whichserver = "NOXSERVER" then display dialog "No XServer Found, to find out more click More Info" buttons {"Quit", "More Info"} default button "More Info" cancel button "Quit" with icon stop --open a file about How to install X11 set myPath to (path to me) set aboutX11Path to POSIX path of myPath & "Contents/Resources/AboutX11.rtf" --display dialog aboutX11Path --We need the quotes in the name to prevent problems with spaces. do shell script "open " & "\"" & aboutX11Path & "\"" set now_running to "Skip" end if " In here I am also proposing to have a small document, in my minor test I used a very basic RTF that I will attach. I simply used it from point of principle. You can use and document type and place it anywhere in the .app bundle. To check that the script work I renamed X11 to X11t and then ran the update locate database script (see bottom of man locate, and remember to use root).
Created attachment 33480 [details] A basic overview about X11 and why it needs to be installed
The launcher script is already being worked on IZ 57252. Adding this bug as a dependency.
Issue 57252 is fixed. If the change proposed here is still valid I would recommend to work with ericb2 or mox so that it's confirmed and started...
The current status of this is issue is that with the latest builds if OOo cannot find X11, then it will display the localised error message, which in English says "Openoffice.org cannot be started, because X11 is not installed. Please install Apple X11 first." Ideally there would be some file that would open with information on installing Apple's X11.
This is not PATCH issue. We can close it now anyway...
@pjanik Maybe an Enhancement? Mainly the localisation effort. James M.
This has been partially implemented so far. There is an issue with the localisation on the text that goes into the current dialog. This is an issue with the string under 10.3.x in Applescript, but not 10.4.x I also would like to have some link to more information as well, compared to the current implementation.
Localisation issue should be filled as separate issue, probably.
This issue is in progress. There is a problem with supporting Panther (10.3) as imbedded strings are not read from the script. James McKenzie
Created attachment 40489 [details] Fix the X11 help message, open url to help page when "More Info" is chosen. Patch ready for integration and testing.
ericb->mox Your patch applies perfectly. m197 X11 is built, and I'll test on a machine without anything X11. If nothing's wrong, I'll add it into macosx22fixes cws
Fixed in macosx22fixes (I'll complete the cws issue list asap )
I have verified that the changes are correct in CWS macosx22fixes.
verified as well.
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 ~