After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 412252 - [blocked] OOo requires OOo dialogs (and not native dialogs)
[blocked] OOo requires OOo dialogs (and not native dialogs)
Status: RESOLVED OBSOLETE
Product: orca
Classification: Applications
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Orca Maintainers
Orca Maintainers
http://www.openoffice.org/issues/show...
Depends on:
Blocks: 404411
 
 
Reported: 2007-02-26 14:28 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2012-10-05 03:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
at-spi diffs between rev 858 and 861. (12.80 KB, text/plain)
2007-02-27 16:03 UTC, Rich Burridge
Details
at-spi diffs between rev 858 and 881. (35.65 KB, text/plain)
2007-02-27 16:03 UTC, Rich Burridge
Details

Description Joanmarie Diggs (IRC: joanie) 2007-02-26 14:28:16 UTC
Steps to reproduce:

1. Launch Orca
2. Launch OOo Writer
3. Press Control O to get into the Open dialog
4. Tab until you get to the Places tree, then Up/Down Arrow within it
5. Press Escape to exit the Open dialog
6. Press Alt F4 to Exit OOo Writer

Results:  OOo Writer goes into "recovery mode."

I can reproduce this reliably on my Feisty box using OOo 2.1 and various revisions of at-spi (including 881 :-) ).
Comment 1 Rich Burridge 2007-02-26 15:14:26 UTC
Hi Joanie. Which version of OOo Writer are you using? Presumably an OOo v2.2
early access tarball from somewhere? ... Can you point me at it, and I'll
try to reproduce it and file the matching OOo bug that we can track. Thanks.
Comment 2 Joanmarie Diggs (IRC: joanie) 2007-02-26 15:26:26 UTC
> Presumably an OOo v2.2 early access tarball from somewhere? ... 

Believe it or not Rich, this is with 2.1.  :-)  I haven't gotten around to reinstalling 2.2 (laptop broke).
Comment 3 Rich Burridge 2007-02-26 17:36:50 UTC
Okay. If you have a spare moment, it would be great if you could
try these steps against the latest OOo v2.2 Writer and see if 
it's still a problem. Thanks!
Comment 4 Rich Burridge 2007-02-26 19:11:18 UTC
I've just installed OOo v2.2.0 on my Feisty system and went to try this.
It looks like we might have "fixed" this, because, as far as I can see,
the Open Dialog no longer has a "Places tree".
Comment 5 Joanmarie Diggs (IRC: joanie) 2007-02-26 23:43:01 UTC
> It looks like we might have "fixed" this, because, as far as I can see,
> the Open Dialog no longer has a "Places tree".

:-)  Confirmed.

BUT:  On my Edgy system I have OOo 2.1 from openoffice.org (i.e. not the version that comes with Ubuntu), and it lacks a "Places tree" as well.   So, perhaps the version of OOo included in a distro is configured to use the distro's Open dialog for a more uniform look and feel among apps??  If so, we might not have fixed it in 2.2.0....
Comment 6 Rich Burridge 2007-02-27 01:08:19 UTC
That seems reasonable. Problem here (for me) then is I won't be able
to install that OOo v2.2.0 distribution from:

http://download.openoffice.org/680/index.html

because they don't have a 64bit Linux version, and that's the only
Edgy release I've got.

If OOo Writer is crashing, I'm pretty sure it's going to be an OOo
bug that needs to be fixed. 

Could you possibly try OOo v2.2.0 Writer on your Edgy system and 
see if the problem still exists please?

If so, then I'll file a bug in their bugs database for this, and
block this one.

Thanks.

Comment 7 Joanmarie Diggs (IRC: joanie) 2007-02-27 01:58:53 UTC
> Could you possibly try OOo v2.2.0 Writer on your Edgy system and 
> see if the problem still exists please?

Yes.... And no.  I'd be happy to, but.... I wasn't being clear before.  I'm really sorry!!  If you'll allow me to try again:

If you are using a version of OOo that comes with Ubuntu, your Open dialog will have a Places tree.  If you are using a version of OOo that you downloaded from openoffice.org (be it 2.1 or 2.2) your Open dialog will NOT have a Places tree.   

The Open dialog that you and I are seeing in 2.1 seems to be the standard, generic Ubuntu Open dialog which is being used because the Ubuntu folks Ubuntuized OOo for inclusion in their distro.  When 2.2 finally gets Ubuntuized, I suspect it too will have a Places tree, and then we can see if the problem is truly fixed or not.  Until then, since the crash seems to somehow be connected to that blessed tree, I think we have to wait.

I hope I'm making some sense now. :-)  Again, my apologies.
Comment 8 Rich Burridge 2007-02-27 02:05:57 UTC
Maybe. ;-)

So how should we proceed? Would the Ubuntu folks have to fix their
version of OOo with the Places tree? If so, then we need to file a bug
with them.

Comment 9 Joanmarie Diggs (IRC: joanie) 2007-02-27 02:45:20 UTC
> So how should we proceed? 

Good question.  At the risk of sounding like a conspiracy theorist, I'm wondering if this is at least in part YAATSPIB -- and OOo is being touchy.   For one thing, there seems to be something about AT-SPI and trees.  See my comments on #404584.  For another, I have since been able to crash 2.2 *on occasion, and not (yet) reliably*  by launching Orca, arrowing around in various Writer trees, escaping out of the dialog that contains them, and then quitting Writer.





Comment 10 Joanmarie Diggs (IRC: joanie) 2007-02-27 03:22:25 UTC
We don't get the crash in revision 858 of at-spi, we do seem to get it by 867.  Still narrowing it down.

(And y'all made fun of my tinfoil hat....)
Comment 11 Joanmarie Diggs (IRC: joanie) 2007-02-27 05:17:27 UTC
Haven't been able to find *the* culprit yet.  However, I cannot reproduce the crash in 858. I can sometimes reproduce it in 861 and 867.  By 881 the crash is pretty reliable.
Comment 12 Rich Burridge 2007-02-27 16:03:10 UTC
Created attachment 83466 [details]
at-spi diffs between rev 858 and 861.
Comment 13 Rich Burridge 2007-02-27 16:03:40 UTC
Created attachment 83467 [details]
at-spi diffs between rev 858 and 881.
Comment 14 Rich Burridge 2007-02-27 16:10:18 UTC
I've attached a couple sets of diffs for at-spi.

1/ Between rev 858 and rev 861.

   Files changed:

   ChangeLog 
   NEWS 
   atk-bridge/bridge.c 
   configure.in 
   registryd/registry-main.c 
   registryd/registry.h 

2/ Between rev 858 and rev 881.

   Files changed:

   ChangeLog 
   MAINTAINERS 
   NEWS 
   atk-bridge/bridge.c 
   configure.in 
   cspi/bonobo/cspi-bonobo.c
   idl/Accessibility_Role.idl
   libspi/text.c 
   registryd/deviceeventcontroller.c
   registryd/registry-main.c
   registryd/registry.c 
   registryd/registry.h 

If you think it's another at-spi change that's causing this problem,
then this would be the most likely suspects.

I haven't looked at the diffs in detail to suggest the culprit though.
If there was a simple way for me to reproduce this, I'd happily help.
Any other tree examples out there reliably crashing now?


Comment 15 Joanmarie Diggs (IRC: joanie) 2007-02-27 17:15:39 UTC
Using Feisty and OOo 2.1 (the Ubuntuized version), do you not get a crash when performing the steps in the original report?

I've not yet found another tree that I can get to crash reliably.  Sorry!!  I'll keep trying.
Comment 16 Rich Burridge 2007-02-27 18:27:36 UTC
The problem is that on my Ubuntu Feisty system, the Synaptic
Package manager says that I have openoffice.org (and dependancies)
installed, but when I go to look in /usr/bin, the only oo...
files there are ooffice and oofromtemplate. If I startup ooffice,
it's About dialog says it's 2.0.

If I use the Synaptic package manager and try to reinstall openoffice.org
it fails with an error dialog that says:

E:gnome-orca:subprocess post-installer script returned error exit status 1

If I try to completely remove (or just remove) openoffice.org, it also
wants to remove ubuntu-desktop. That doesn't look good.

I could install OpenOffice 2.1 from the openoffice.org website, but it
sounds like I wouldn't get the right file dialog.

So, I've only got OpenOffice 2.2 (from openoffice.org) working on my
machine. Is there another tree table anywhere in OOo 2.2 that I can use to
try to reproduce this problem? 
Comment 17 Mike Pedersen 2007-02-27 18:43:44 UTC
> it fails with an error dialog that says:
> E:gnome-orca:subprocess post-installer script returned error exit status 1
This is because you've installed orca from svn over the default one.  Just do: sudo make uninstall on orca and this will go away.
> If I try to completely remove (or just remove) openoffice.org, it also
> wants to remove ubuntu-desktop. That doesn't look good.

This isn't actually going to remove your desktop it is really miss-leading.  You are OK to do this.
Comment 18 Joanmarie Diggs (IRC: joanie) 2007-02-27 18:47:34 UTC
> E:gnome-orca:subprocess post-installer script returned error exit status 1

Any chance that's another form of the error we get because we've built Orca on our machines and it's found.... /usr/lib/python2.x/site-packages/orca?  What happens if you remove that dir and try the package manager again?

> wants to remove ubuntu-desktop. That doesn't look good.

It sounds worse than it is.  That said, if you were to try it and take out your system as a result, the guilt would kill me -- assuming you didn't. :-) :-) :-)

I've gotten a few crashes out of the Options dialog (Paths and JAVA) as well as the Customize dialog (Entries tree).  But I cannot reliably cause it to happen.  In fact, more often than not, the crash doesn't happen.
Comment 19 Joanmarie Diggs (IRC: joanie) 2007-02-27 18:48:15 UTC
Great minds think alike, eh Mike?  Silly mid-air collisions.... <smile>
Comment 20 Rich Burridge 2007-02-27 20:21:40 UTC
I did an "sudo make uninstall" of Orca and then did a reinstallation of
openoffice.org. It didn't take long. After it was complete the only
files in /usr/bin starting with oo... were the two OOo 2.0 ones.

I then tried a "complete removal" of openoffice.org (which also
asked to removed ubuntu-desktop). That didn't take long either. I
then marked openoffice.org for installation and did that.

After it was complete the only files in /usr/bin starting with oo... 
were (you guessed it) the two OOo 2.0 ones.

I'll see if I can get OOo 2.2 to crash in one of the other places.
Joanie, are you filing OOo bugs every time it crashes? ...
Comment 21 Rich Burridge 2007-02-27 20:29:36 UTC
> I've gotten a few crashes out of the Options dialog (Paths and JAVA) as 
> well as the Customize dialog (Entries tree).  But I cannot reliably 
> cause it to happen. In fact, more often than not, the crash doesn't 
> happen.

That's been my experience with OOo 2.2.0 and Orca 2.17.92 as well. I
haven't gotten it to crash yet.
Comment 22 Joanmarie Diggs (IRC: joanie) 2007-02-27 21:01:13 UTC
Okay, this one isn't guaranteed, but try it a few times.  I've gotten crashes 3 out of 5 times thus far, so it might be worth a shot.

1. Launch Orca
2. Launch OOo Writer 2.2
3. Alt O for the Format menu
4. Down arrow to paragraph and press Enter
5. Move focus to the Borders page (the first time I control page down'ed to it; subsequent times it remembers that is where I last was)
6. Tab to the Style list, Down Arrow a few times, Up Arrow a few times
7. Escape to exit the dialog
8. Alt F4 to exit OOo Writer.

> Joanie, are you filing OOo bugs every time it crashes? ...

Nope because I can't make it crash the same way twice -- until this case presented itself anyway. And it's still not a guaranteed crash.
Comment 23 Joanmarie Diggs (IRC: joanie) 2007-02-27 21:42:37 UTC
Okay, I have another "happens somewhat more often than not" crasher for 2.2:

1. Launch Orca
2. Launch OOo Writer 2.2
3. Control O for the Open dialog
4. Tab to File Type
5. Use Alt Down Arrow to expand the list.  Then Up/Down Arrow among the items.
6. Escape to collapse the list, Escape again to exit the Open dialog.
7. Alt F4 to exit OOo Writer

Again, try it a few times.  It's another 3-out-of-5ish thing.
Comment 24 Rich Burridge 2007-02-27 22:45:56 UTC
Thanks Joanie. Using the steps in comment #22, I got OOo v2.2 to crash
with Orca on my Ubuntu Feisty system, the third time I tried it. I'm
going to submit an OOo bug (with both sets of instructions) and let the
OOo folks investigate it a bit further.
Comment 25 Rich Burridge 2007-02-27 23:02:44 UTC
OOo bug is issue #74943
http://www.openoffice.org/issues/show_bug.cgi?id=74943
Comment 26 Joanmarie Diggs (IRC: joanie) 2007-03-09 22:24:52 UTC
It turns out that Feisty is going with OOo 2.2 after all, which means we can test the Open dialog issue.  It's present in 2.2 as well.  BUT we may be able to give whomever needs it (OOo guys, Ubuntu guys?) more details.  

Prior to Rich's most recent patch to the refactoring changes (http://bugzilla.gnome.org/show_bug.cgi?id=395548#c29), navigating in the Places table did not cause OOo to crash like before.  Orca wasn't providing access to the Places table, because isDesiredFocusItem() wasn't getting called.  Now that isDesiredFocusItem() is getting called, Orca IS providing access to the Places table AND navigating within the Places table will cause OOo to tank upon exit as described in the original report.  Seems something in isDesiredFocusItem() is making OOo unhappy....
Comment 27 Rich Burridge 2007-03-09 22:31:20 UTC
Joanie, I've already open OOo issue #74943 on the other two crashers.
I suggest adding the new crasher info to that. 

I don't know who the Ubuntu OOo contacts should be. Maybe ask on the
OOo issue? ...

The cynical part of me says that all three of these are going to be 
related.

Thanks.
Comment 28 Mike Pedersen 2007-05-03 21:09:29 UTC
What does this have to do with java? 
Comment 29 Rich Burridge 2007-05-03 21:53:00 UTC
Nothing. Clearing.
Comment 30 Willie Walker 2007-05-25 16:27:11 UTC
Removing target milestone from [blocked] bugs.  We have little control over them, so we're better off letting priority and severity be our guide for poking the related components.
Comment 31 Willie Walker 2008-01-18 16:40:34 UTC
The OOo team has closed this bug.  The synopsis from the OOo team is as follows:

"Looking at the Orca bug referenced above, it seems that Scenario 2 happens only
with the Gtk-FilePicker implementation, which unfortunately crashes instantly on
my snv 77 build. This means that scenario has probably a totally different root
cause.

BTW: one can switch between OOo and Gtk FilePicker under Tools - Options -
OpenOffice.org - General - Use OpenOffice.org dialogs. Seems that the ubuntu
build uses a different default for this option."

So, the solution here is to use the OOo dialogs.  I've updated http://live.gnome.org/Orca/OpenOffice to include an important note on this.

Lowering the importance of this bug since there is an easy workaroung, but still leaving this open and blocked on:

http://www.openoffice.org/issues/show_bug.cgi?id=85353
http://www.openoffice.org/issues/show_bug.cgi?id=85354