Page 1 of 1

X Ray add on Dialog Box defaults to unusable small size

Posted: Tue Mar 18, 2008 4:47 am
by cdub
Trying to go to OOo.Basic cold turkey from M$VBa....

Running Ubuntu 7.10 and OOo 2.3

I've got the XRay 5.2 add on macro "installed" and can run it, but the dialog that comes up for the program is maybe 1/5th the size it should be. It won't dynamically resize. Is anyone else having this problem?

I tried going into the macro and sure enough, the dialogs are too small in the dialog editor. I tried dragging them to resize them, then re-running the macro, but my changes don't seem to have an effect.

Going crazy without auto-completion, and could definitely use the hints of what's available.....

Any tips would be appreciated.

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Tue Mar 18, 2008 3:16 pm
by JohnV
Don't remember seeing this complaint before.

Are you saying that if you open, say a Writer document, and create just this macro you have very small result?

Code: Select all

Sub test
 xray ThisComponent
End Sub

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Tue Mar 18, 2008 3:36 pm
by hol.sten
JohnV wrote:Don't remember seeing this complaint before.
I gave XRay 5.2 two weeks ago a first try. I'm using OOo 2.3.1 on Windows XP. And I'm pretty sure that I had exactly the same problem: The size of the XRay window was very small as described above. But it happened not always and right now I cannot reproduce it.

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Tue Mar 18, 2008 11:42 pm
by JohnV
I use both Win98 & W2k with my screen at 800 x 600 and don't have any complaint.

Beside the Displayed Object box are [<] [>] icons that will let widen the dialog. Perhaps that will help some.

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Wed Mar 19, 2008 1:57 am
by cdub
yes, I go to Tools~macros~run
I run the "main" macro

The code is:

Code: Select all

Sub Main
Xray ThisComponent
End Sub
Here is a screenshot of what comes up. I don't see any resize arrows.
Image

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Wed Mar 19, 2008 5:55 am
by Villeroy
There should be a library "XrayDyn" with a single module "XXXray" having dynamic content for the configuration settings. On my system it includes this code on module

Code: Select all

Function initialXrDialWidth As Long 
' width unit is Map, not pixel !
' the next instruction is dynamically built
initialXrDialWidth = 320 'xxxRay6
End Function

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Thu Mar 20, 2008 3:19 pm
by B Marcelly
Hi,
The problem has been reported in the french forum. It is specific to Ubuntu own version of OpenOffice.

Replace it with a recent original release of OpenOffice.org for Linux. It should resolve your problem.
______
Bernard

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Fri Mar 21, 2008 5:01 pm
by cdub
Thank you for pointing that out. I would have never founded (don't know French)

I searched Ubuntu Launchpad and couldn't find anything, so I submitted a bug report. We'll see how that goes.....

Thank you,
cdub

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Sat Mar 22, 2008 1:01 am
by cdub
I got a reply to my bug report at Ubuntu Launchpad

They have gotten reports of Compiz interfering with some macros. I have compiz enabled.

So, I disabled compiz, and now the X-Ray dialog comes up just fine. The problem is that if I disable compiz my system becomes unbearably slow. Like, when I type, the letters appear on the screen at a rate of about 1 per 1.5 to 2 seconds....

If someone has some command of French, perhaps they could share this tidbit with the users on the French forum.

This whole thing seems strange though (compiz interfering with macros and compiz and it's impact on my system...).

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Tue Mar 25, 2008 11:32 pm
by xscd
Thank you cdub for reporting and investigating this problem (xray extension dialog box opens at very small size). Because you did so, I was able to find this discussion thread with a little "googling" at Clusty.com.

I had the same problem (I use Ubuntu Linux 7.10 "Gutsy"), and same solution: I disabled desktop effects through System--> Preferences--> Appearance--> Visual Effects tab--> None, and that worked great; Xray's dialog now opens at the correct size.

Thanks again--

Steve

Re: X Ray add on Dialog Box defaults to unusable small size

Posted: Mon Apr 28, 2008 8:33 pm
by Hagar Delest
cdub wrote:So, I disabled compiz, and now the X-Ray dialog comes up just fine. The problem is that if I disable compiz my system becomes unbearably slow. Like, when I type, the letters appear on the screen at a rate of about 1 per 1.5 to 2 seconds....
BTW, why not install the official version instead of the Ubuntu one as proposed above? It should definitively fix your issue.