Patch of Xray 5.2 for OOo 2.4.0

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
B Marcelly
Volunteer
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area

Patch of Xray 5.2 for OOo 2.4.0

Post by B Marcelly »

Version 2.4.0 of OpenOffice.org has a regression (Issue 87596) which renders unusable the buttons to increase and reduce the panel width.

This Basic file makes it work again until the bug is corrected.
1 - download and save the file, it has a .bas extension.
2 - with the IDE open library XrayTool, module _Main
3 - select all the code of the module (on MS-Windows : Ctrl-A)
4 - click button at right "Insert Basic source text" and select the patch file. All the code is replaced.
5 - click button Save (floppy icon)

For your information, routine changeDialogWidth is modified. The new handling is not compatible with OpenOffice.org version 1.1.x and maybe not with oldest 2.x versions. So you should only patch if you have the bugged version of OpenOffice.

Later, to get back the normal handling, the simplest way is to reinstall Xray.

______
Bernard
ashok_
Posts: 2
Joined: Tue Dec 04, 2007 10:17 am

Re: Patch of Xray 5.2 for OOo 2.4.0

Post by ashok_ »

Hello there:

I am still having the "squashed window" window problem with XRay even after applying the patch.

I am running OpenOffice.org 2.4 on Ubuntu 8.4 (Hardy Heron).

Note: I am not running the OpenOffice.org 2.4 installation packaged with Ubuntu, I have removed that, and installed via the debian package downloaded from the openofffice.org website.

thanks

Ashok
B Marcelly
Volunteer
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area

Re: Patch of Xray 5.2 for OOo 2.4.0

Post by B Marcelly »

Hi,
This is probably the Compiz problem, specific to Ubuntu own version of OpenOffice.

______
Bernard
ashok_
Posts: 2
Joined: Tue Dec 04, 2007 10:17 am

Re: Patch of Xray 5.2 for OOo 2.4.0

Post by ashok_ »

Bernard,

thanks ! Compiz was indeed the culprit, I disabled graphical acceleration in Ubuntu and now it seems to be fine.

Ashok
Post Reply