Bug#444783: openoffice.org: delay exit when openning file in already-running OOo instance
Currently, if openoffice is already running, and new 'oowriter file.odt' or
similar command is executed, it just asks already running OOo to open the file,
and then exits.
This behaviour is not friendly to e.g. mail clients that use oowirter to
show attachments. Usual behaviour of mail client is: same attachment to
a temporary file, then run command, then wait for command to exit, then
remove temporary file. With current openoffice behaviou, file removal in
this scenario may happen (and really usually happens) faster that running
OOo will open it. This resultis in unpleasant user experience - user
clicks on attachment and gets an error message that some file under /tmp
does not exist.
Although this may be workaroundable by configuring mail clent to run not
OOo itself but a wrapper that will run OOo and then sleep for some
seconds, problem does exist it default setup (e.g. kmail + OOo), and (as
mentioned above) results in unpleasant user experience.
It would be better if OOo will not exit immediately after telling
running instance to open the file, but instead will wait until that file
is closed. Something similar to 'vim --remote-wait-silent'.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (640, 'stable'), (620, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-k7
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Versions of packages openoffice.org depends on:
ii openoffice.org-base 2.0.4.dfsg.2-7etch2 OpenOffice.org office suite - data
ii openoffice.org-calc 2.0.4.dfsg.2-7etch2 OpenOffice.org office suite - spre
ii openoffice.org-core 2.0.4.dfsg.2-7etch2 OpenOffice.org office suite archit
ii openoffice.org-draw 2.0.4.dfsg.2-7etch2 OpenOffice.org office suite - draw
ii openoffice.org-impre 2.0.4.dfsg.2-7etch2 OpenOffice.org office suite - pres
ii openoffice.org-java- 2.0.4.dfsg.2-7etch2 OpenOffice.org office suite Java s
ii openoffice.org-math 2.0.4.dfsg.2-7etch2 OpenOffice.org office suite - equa
ii openoffice.org-write 2.0.4.dfsg.2-7etch2 OpenOffice.org office suite - word
openoffice.org recommends no packages.
-- no debconf information