From owner-freebsd-openoffice@FreeBSD.ORG Sat Dec 29 18:21:53 2007 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6AA416A418 for ; Sat, 29 Dec 2007 18:21:53 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from brev.sics.se (brev.sics.se [193.10.64.200]) by mx1.freebsd.org (Postfix) with ESMTP id 4425513C45D for ; Sat, 29 Dec 2007 18:21:53 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (h177n1-u-d1.ias.bredband.telia.com [213.64.92.177]) by brev.sics.se (8.12.8/8.12.8) with ESMTP id lBTHuZr8016862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 29 Dec 2007 18:56:36 +0100 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.14.2/8.14.2) with ESMTP id lBTHvHp6001165; Sat, 29 Dec 2007 18:57:17 +0100 (CET) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.14.2/8.14.2/Submit) id lBTHvFbV001164; Sat, 29 Dec 2007 18:57:15 +0100 (CET) (envelope-from bengta@P142.sics.se) To: peterjeremy@optushome.com.au (Peter Jeremy), freebsd-openoffice@freebsd.org From: Bengt Ahlgren In-Reply-To: <20071228215415.GQ40785@server.vk2pj.dyndns.org> (Peter Jeremy's message of "Fri Dec 28 13:54:25 2007") References: <4773BFF6.4020203@pcbsd.org> <4774142C.50709@pcbsd.com> <20071228215415.GQ40785@server.vk2pj.dyndns.org> Date: Sat, 29 Dec 2007 18:57:15 +0100 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new Cc: Subject: Re: Problem with openoffice 2.3.1 on freebsd... X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2007 18:21:53 -0000 peterjeremy at optushome.com.au (Peter Jeremy) writes: > On Thu, Dec 27, 2007 at 10:08:38AM -0500, Kris Moore wrote: >>I noticed that a patch was made to fix it: >> >>http://lists.freebsd.org/pipermail/freebsd-openoffice/2007-December/003464.html > > I've tried this patch and it had no effect - OOo still reports the same > glib initialisation errors and hangs. > > On Thu, Dec 27, 2007 at 04:07:56PM -0500, Kris Moore wrote: >>I found that by setting OOO_FORCE_DESKTOP="gnome" before running any of the >>office programs does allow them to function, without crashing. > > Looking at the source, OOO_FORCE_DESKTOP can take the values 'none', > 'cde', 'kde' or 'gnome'. Setting it to 'gnome' makes OOo work - > except that it won't exit. When you exit, the window closes but the > soffice-bin process hangs around exchanging messages with X. I suspect > it is waiting for the (non-existent in my case) gnome WM to tell it to > die. All the other values fail in glib initialisation. I have the same problem with OOo looping. I am using KDE and built OOo 2.3.1 on 6.3-RC2/amd64 with WITHOUT_MOZILLA, WITH_CUPS, WITH_KDE, WITH_SYSTEM_FREETYPE, and WITHOUT_GNOMEVFS. I am using diablo-jdk-1.5.0. I think the problem is connected with the OOo systray quickstarter. If I set OOO_FORCE_DESKTOP="gnome", it works as others previously described (but I then get the gnome iconset...). The quickstarter appears at once when you start OOo, and is still there when you close the last window, explaining your issue that soffice.bin doesn't exit. It seems that the systray quickstarter thing does not work when OOo (correctly) believes that it deals with KDE. If you first start OOo with OOO_FORCE_DESKTOP="gnome", and select "Disable systray Quickstarter" in the systray menu, you can then start OOo with OOO_FORCE_DESKTOP="kde", or without setting it at all, without running into the looping problem. That is, you don't need the patch. So, is this a FreeBSD-only problem? Does it appear if you build without setting WITH_KDE? Bengt