OpenOffice Broken

I had a power strip failure that somehow managed to completely break OpenOffice. The splash screen is black with the progress bar, toolbar buttons are all text only (no icons), and Tools > Options makes it crash. I tried the obvious uninstall and reinstall all the OpenOffice packages, but that didn’t fix it.

Terminal output for the Tools > Options crash:


QPainter::save: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
X-Error: BadDrawable (invalid Pixmap or Window parameter)
        Major opcode: 62 (X_CopyArea)
        Resource ID:  0x0
        Serial No:    30268 (30268)

Based on that I think some GUI library got corrupt and reinstalling that should fix it, but I have no clue what.

I have the OO from their website installed as a quick fix, which works (just looks ugly and has none of the SUSE add-ons). Anybody have any ideas on fixing it?

Is this OO from the default install or are you using the build service repo?

I had the one from the default install, but the ones in the OpenOffice.org:STABLE and UNSTABLE repos act exactly the same.

Please look in your user directory - hidden files
Find the folder .ooo3
Delete it or rename it if you think you might need something from the old profile .ooo3_old

Does that change things

Tried that, it does nothing.

Can you please post the result of this:

zypper lr -d
#  | Alias                               | Name                        | Enabled | Refresh | Priority | Type   | URI                                                                     | Service
---+-------------------------------------+-----------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------+--------
1  | NVIDIA                              | NVIDIA                      | Yes     | Yes     |   95     | rpm-md | http://download.nvidia.com/opensuse/11.2                                |        
2  | Packman                             | Packman                     | Yes     | Yes     |   95     | rpm-md | http://packman.unixheads.com/suse/11.2/                                 |        
3  | http-download.opensuse.org-53efc12b | Updates for openSUSE 11.2-0 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.2/                               |        
4  | openSUSE 11.2-0                     | openSUSE 11.2-0             | No      | No      |   99     | yast2  | cd:///                                                                  |        
5  | repo-debug                          | openSUSE-11.2-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.2/repo/oss/          |        
6  | repo-non-oss                        | openSUSE-11.2-Non-Oss       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/non-oss/            |        
7  | repo-oss                            | openSUSE-11.2-Oss           | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/oss/                |        
8  | repo-source                         | openSUSE-11.2-Source        | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.2/repo/oss/         |        
9  | science                             | science                     | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_11.2/        |        

OK. That looks fine

To determine if the issue is system or user. Please create a new user and try OO there. If it fails we know for sure it’s system. We can easily delete the new user later

Does exactly the same thing on a new user account.

OK You can delete that now.

Open Software Management (I’m not sure gnome will look the same…but)
Filter by repository and select system
It should display on the right all your installed packages
Scroll down - do you see red or blue packages?

Blue - Stuff from Packman repo (need for media playback)
Red - Brother printer drivers and the copy of OOo from their website

Short of doing a system wide unconditional update (And that may not work as I suspect you are missing some package/s) I can only suggest you look at QT because this is related to you error.
Complete removal of the Office Pattern in Yast and then Adding it Back, may help?!

Fixed it. Just ran an “upgrade” from the DVD and everything works now.

Good.
You may have to use the switcher on Packman because the DVD may have forced some packages back.