Tuesday, April 01, 2008
Sunday, March 30, 2008
OOO: Possible fix for the command timed out error on Leopard
With a change in the way that X11 works on Leopard, the X11 version of OpenOffice.org has been giving an error message on startup saying "command timed out". With previous versions of Mac OS X, OpenOffice.org had to make sure that X11 was running first be trying to start OpenOffice.org.
on openSoffice(aFile)"...."end openSoffice" with the following:Please comment on how this works for you.
on openSoffice(aFile)
if (atLeastOSXVersion(10, 5, 0)) then
-- if we have leopard, we don't need to manually start the X server first
set theCmd to "sh " & (quoted form of (POSIX path of getOOProgramPath() & "soffice")) & " "
do shell script theCmd & aFile & shellTerminator()
else
set theDisplay to startXServer()
if (theDisplay is equal to "error") then
return
end if
set theEnv to "DISPLAY=" & theDisplay & " ; export DISPLAY; "
set theCmd to "sh " & (quoted form of (POSIX path of getOOProgramPath() & "soffice")) & " "
do shell script theEnv & theCmd & aFile & shellTerminator()
-- logEvent("open CMD: " & theEnv & theCmd & aFile)
end if
end openSoffice
Posted by Shaun McDonald at 8:58 pm 72 comments go to http://blog.shaunmcdonald.me.uk/
Labels: Apple, AppleScript, bug, Mac OS X, OpenOffice
Tuesday, December 11, 2007
Edinburgh Leopard Tech Talk
Today I went along to the Leopard Tech Talk in Edinburgh at the posh Caledonian Hilton Hotel.
Wednesday, July 25, 2007
Can launch PPC apps again
Since installing the Quicktime 7.2 and iTunes 7.3.1 updates on my MacBook, I've been unable to launch PPC applications through Rosetta. It appears that having Java 6 installed has caused the prebinding process to crash.
Saturday, July 14, 2007
Picasa Web Albums now supports GeoTagging
Picasa Web Albums has now caught up with Flickr and started to properly support GeoTagging of Photos.
Posted by Shaun McDonald at 12:58 am 2 comments go to http://blog.shaunmcdonald.me.uk/
Tuesday, January 23, 2007
Apple posts an FAQ about the X11 for Mac OS X
Apple have released Technical Note TN2165, an FAQ about the X window environment (X11) for Mac OS X.
There are several interesting things in the tech note including:
- "OpenGL does not support off-screen rendering." Even with OpenGL not being enabled in OpenOffice.org, I get redraw issues with part of the window being off screen. This happens in both when scrolling the document and opening a new dialog that partially appears off screen. When the section of the document or dialog is moved on screen, then it doesn't draw properly. I'm now wondering if this problem is not just with OpenGL, but with X11 in general.
- XDarwin is no longer recommended.
- It is technically feasible to make cmd+v work across all X11 applications.
- "XInputExtension is not yet implemented." Could this be why OpenOffice.org on the mac has some issues with the input of some international characters? (Please correct me in the comments if I'm wrong with this assumption.)
- OpenGL has the same problem as the command osacompile, in that it won't run/work unless the user is root or the currently logged in user of Mac OS X.
Posted by Shaun McDonald at 8:47 pm 0 comments go to http://blog.shaunmcdonald.me.uk/
Labels: Apple, bug, OpenOffice, X11
Thursday, December 28, 2006
My First CWS
I have now created my first CWS (Child Workspace) macosxdmgapplink. It only affect the Mac packaging. It is basically the patches that I created earlier at the Mac Port Meeting in Hamburg. I have updated the DS_Store file for OpenOffice.org 2.2.
The extra functionality that you will get with this new CWS is an updated background in the disk image that Mac Users of OpenOffice.org use for installing OpenOffice.org. More importantly, inside the disk image, you will get a link to the Applications folder. This will make it easier for users to drag and drop install OpenOffice.org.
Now all that needs to be done, is for it to be passed by the QA representative maho, and then integrated.
Posted by Shaun McDonald at 9:52 pm 0 comments go to http://blog.shaunmcdonald.me.uk/
Labels: bug, OpenOffice
Monday, November 27, 2006
Row span in Writer's Tables
In one of my not so common moments of using OpenOffice.org Writer as a user, I recently came across an issue with the table layout. I did not have the flexibility to have table cells run over many rows in the way I wanted them to. To my delight, it would appear that this is going to be fixed. Unfortunately the fixes won't come in time for this report that I'm writing.
For more information about this please see the GullFOSS blog.
Posted by Shaun McDonald at 12:23 pm 0 comments go to http://blog.shaunmcdonald.me.uk/
Labels: bug, OpenOffice
Monday, November 06, 2006
Workaround for X11 not launching posted on Mac Porting Web Site
With the deluge of people complaining about the X11 update and OpenOffice.org not starting, I posted a news article detailing a quick workaround to get OpenOffice.org running again. It should be noted that the next release of (and current development builds) are not affected by the problematic fonts as there has been a change in the logic which safe guards against the the divide by zero that was happening when the new fonts supplied by Apple were being loaded in. Hopefully Apple are going to re-release the X11 update soon.
Posted by Shaun McDonald at 1:32 am 0 comments go to http://blog.shaunmcdonald.me.uk/
Labels: Apple, bug, OpenOffice
Saturday, November 04, 2006
Apple's X11 update
Apple released an X11 update on 1 November 2006. It fixes a but that I commented about, regarding the cmd+tab and the X11 windows not coming forward.
On the other hand there appears to be an issue with the fonts in that build. This seems to affect the current official release of OpenOffice.org on the Mac. I didn't notice it at first because I have been using builds made by my ooobuilbot MacPort1.
The current workaround is to remove the Vera fonts from /usr/X11R6/lib/X11/fonts/TTF. For more information please see issue 71096.
Posted by Shaun McDonald at 11:40 am 0 comments go to http://blog.shaunmcdonald.me.uk/
Labels: Apple, bug, OpenOffice, X11
Tuesday, October 31, 2006
First Priority 1 bug fixed
Opened and closed as being fixed in 3 day, now that is what I call quick. I must thank hr for his quick response and pjanik for helping to find the error. Mind you it can be quite nice sitting on the cutting edge of technology. Unfortunately you end up forgetting what is in the latest official release!
Posted by Shaun McDonald at 9:31 pm 0 comments go to http://blog.shaunmcdonald.me.uk/
Labels: bug, buildbot, OpenOffice
Saturday, October 28, 2006
My first Priority 1 OOo Bug
The great thing about having a oobuildbot is that you end up living on the edge.
Today I came across a bug that means that HEAD of CVS does not build on the Mac platform. With the help of Pavel, we found the issue and filed the issue. You can track it's progress in issue 70965.
Posted by Shaun McDonald at 7:13 pm 0 comments go to http://blog.shaunmcdonald.me.uk/
Labels: bug, buildbot, OpenOffice

