Comment 22 for bug 149586

Revision history for this message
Louis-Dominique Dubeau (ldd) wrote : Re: [Bug 149586] Re: [upstream] [hardy] openoffice compiz bug - Wizards' first dialogs far too small (unusable)

Alberto, first thank you very much for reporting on your find. This is
very helpful for those of us who have do deal with this problem.

On Sun, 2008-10-05 at 22:41 +0000, AlberTUX wrote:
> actually you can completely solve this "bug" configuring the "window
> decoration" plugin with exceptions.

I respectfully disagree. You are providing a *workaround*, not a
*solution* to bug, which is a *real* bug, by the way and not a "bug" in
quotes. A proper solution would allow decorations to appear on all
windows which should have decorations (and this includes dialog boxes in
Open Office).

> in the "advanced desktop effect
> settings" open the "window decoration" plugin config and edit the
> "decoration windows" field editing it from "any" to "(any) &
> !(type=Dialog).

What you suggests turns off decoration on all dialog boxes in all
applications. Here is a better value for this field:

(any) & !(widget=1) & !(type=Dialog & class=OpenOffice.org 2.4)

What I suggest turns off decorations on widgets (which probably does not
matter to those who do not use the widget layer) and on dialog boxes but
only dialog boxes which belong to OpenOffice 2.4. The class= match
could be turned into a regular expression to mach more versions than
2.4. Also, I think the initial "(any) &", for instance, is not needed
but I'm no compiz wizard.

Maybe someone can come up with something even better than my suggestion
because right now it matches too many dialog boxes. Only the boxes
which are created by OO through a Java VM should be targeted by the
workaround. (Perhaps with the help of devilspie something can be cooked
up?)

Ciao,
Louis