GNOME Bugzilla – Bug 412252
[blocked] OOo requires OOo dialogs (and not native dialogs)
Last modified: 2012-10-05 03:15:33 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 :-) ).
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.
> 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).
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!
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".
> 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....
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.
> 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.
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.
> 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.
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....)
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.
Created attachment 83466 [details] at-spi diffs between rev 858 and 861.
Created attachment 83467 [details] at-spi diffs between rev 858 and 881.
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?
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.
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?
> 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.
> 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.
Great minds think alike, eh Mike? Silly mid-air collisions.... <smile>
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? ...
> 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.
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.
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.
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.
OOo bug is issue #74943 http://www.openoffice.org/issues/show_bug.cgi?id=74943
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....
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.
What does this have to do with java?
Nothing. Clearing.
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.
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