Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 193238

Summary: app-office/openoffice-2.3.0: Editing embedded tables (OLE ojects) corruptes them
Product: Gentoo Linux Reporter: Jannick Kuhr <jakuhrlinux>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: A simple test file to reproduce the issue.
Screenshot - before
Screenshot - after
Fix for this issue

Description Jannick Kuhr 2007-09-20 20:01:10 UTC
I just noticed when working on my thesis, that after editing embedded tables (OLE object) these tables get corrupted. After editing them, the contents get incredible huge, so not even one cell fits into a table of 15x10cm.

I used the compiled version of openoffice on amd64. This happens using a Gnome and a KDE optimized version, but NOT with openoffice-bin. Also openoffices on windows (2.3.0), Kubuntu (64bit - 2.3.0 RC1) and ArchLinux (32bit - 2.3.0) work just fine, so I fear this is a Gentoo related issue.

I'm not completely sure, but I think I had the same problem with 2.2.1.

Reproducible: Always

Steps to Reproduce:
1.Open a writer file, double click on the embedded (OLE) table to edit it 
2.Save the file, close it and open it again.
3.Double click the table again and then click into the text to leave the editing mode.

Actual Results:  
Now the table is corrupted.
Comment 1 Jannick Kuhr 2007-09-20 20:04:33 UTC
Created attachment 131447 [details]
A simple test file to reproduce the issue.
Comment 2 Jannick Kuhr 2007-09-20 20:28:54 UTC
Created attachment 131453 [details]
Screenshot - before
Comment 3 Jannick Kuhr 2007-09-20 20:33:28 UTC
Created attachment 131455 [details]
Screenshot - after

The big black bar in the frame is just the border of one huge cell...
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-21 06:46:35 UTC
Please provide your output of "emerge info".

Besides that: Works perfectly fine here with your test file (on x86), so either it's an AMD 64-issue or a problem with CFLAGS overoptimization, openoffice is very sensitive to those things
Comment 5 Jannick Kuhr 2007-09-21 12:02:43 UTC
I investigated further and it seems to be an 64bit issue. (Correction my Kubuntu installation is 32bit). I installed the 64bit edition of openSUSE (latest RC1) and had exactly the same problems. So I installed on this 64bit platform a 32bit build (also an ooo-build edition) of openoffice and the problem disappears.

So I think this is a 64bit issue  and not a problem of Gentoo. I thank you very much for your quick response and generally for your work on openoffice on Gentoo.

I am creating an upstream bug report atm.
Comment 6 Jannick Kuhr 2007-09-21 12:17:14 UTC
Upstream bug for this issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81815
Comment 7 MichaƂ Kiedrowicz 2007-09-21 13:26:03 UTC
I have exactly the same results on my amd64 with app-office/openoffice-2.2.1.
Comment 8 Jannick Kuhr 2007-10-03 10:48:11 UTC
This issue has now been fixed upstream and the proposed patch works for me.

Unfortunately the CWS which contains the patch is targeted for openoffice-2.4 (March 08), so table editing would be broken until then.

Perhaps we already could include the patch?

http://www.openoffice.org/issues/show_bug.cgi?id=81936
Comment 9 Jannick Kuhr 2007-10-03 10:57:30 UTC
Created attachment 132450 [details]
Fix for this issue

This upstream patch fixes this issue [1] and also another problem with not properly saved splitviews [2] on amd64.

[1] http://www.openoffice.org/issues/show_bug.cgi?id=81815
[2] http://www.openoffice.org/issues/show_bug.cgi?id=81936
Comment 10 Jannick Kuhr 2007-10-05 10:04:20 UTC
This patch is included in the latest version of ooo-build, so the regular updating to the newest ooo-build would be enough to fix this issue.
Comment 11 Andreas Proschofsky (RETIRED) gentoo-dev 2007-10-08 11:15:28 UTC
(In reply to comment #10)
> This patch is included in the latest version of ooo-build, so the regular
> updating to the newest ooo-build would be enough to fix this issue.
> 

I've just bumped the ooo-build-version to 2.3.0.3 (just rebuild openoffice-2.3.0 to get it), so this should be fixed, thanks for pushing this! Closing
Comment 12 Andreas Proschofsky (RETIRED) gentoo-dev 2007-10-08 18:48:42 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > This patch is included in the latest version of ooo-build, so the regular
> > updating to the newest ooo-build would be enough to fix this issue.
> > 
> 
> I've just bumped the ooo-build-version to 2.3.0.3 (just rebuild
> openoffice-2.3.0 to get it), so this should be fixed, thanks for pushing this!
> Closing
> 

As far as I can see this issue was fixed after 2.3.0.3 was released, fortunately 2.3.0.4 was released a few hours ago and is already in portage, so please emerge --sync and try again. Sorry about the inconvenience.