Wrong embedded window size with LibreOffice when try to use xEmbed in java app

Stephan Bergmann sbergman at redhat.com
Mon May 27 03:26:51 PDT 2013


On 05/24/2013 12:03 AM, Fernando Digitaldoc wrote:
> Well, is really same case:
>
> https://issues.apache.org/ooo/show_bug.cgi?id=106352
>
> “run the OOoBeanViewer demo from the ooo sdk with
> -Dsun.awt.xembedserver=true
>
> with jdk1.6.0_11 linux i586
>
> expected result:
>
> openoffice should use the whole space it is supposed to use
>
> actual result:
>
> it uses only 200x200 pixels”
>
> But, we using in test LibreOffice 3.5 or 3.6 .. and too use java 6.35 or
> another.
>
> Can be reproduced by example:
>
> https://dl.dropboxusercontent.com/u/30314039/JavaCallLibreOfficeWeb.rar

So I can reproduce with a recent LibreOffice master build on Fedora 18 
x86_64, using java-1.7.0-openjdk-1.7.0.9-2.3.8.0.fc18.x86_64 that 
running the SDK's examples/DevelopersGuide/OfficeBean with an additional 
-Dsun.awt.xembedserver=true shows a cropped LO window, while running it 
without that additional -Dsun.awt.xembedserver=true works fine.  But I 
have no idea where in the code (LibreOffice side bean, toolkit, and vcl 
modules; or JRE side) things go wrong.

Stephan


More information about the LibreOffice mailing list