Angus Leeming wrote:
On Friday 01 November 2002 10:39 am, Rob Lahaye wrote:

Angus Leeming wrote:

On Friday 01 November 2002 10:14 am, Rob Lahaye wrote:

Hi,

When the ShowFile dialog is called from the
LaTeX-Information dialog, the ShowFile dialog is
transparent. Is there a draw() call missing somewhere, or
something like that?

Am I the only one seeing this? To see it, do "View->TeX
information", then double click on one the the lines in the
browser, which opens the ShowFile dialog.
All looks Ok to me.
Attached png file shows what I get.
When I force a redraw of the dialog, e.g. by minimizing and
maximizing the ShowFile dialog, the contents is there and
won't go away anymore.

Anyway, as long as not more people complain, it's not worth
investigating deeper. Only when more reports on this come in,
it may be.
Is this a function of your window manager?

What happens if you add a line fl_redraw_form(form());
to the end of FormBase::show()?
My window manager is Xfce (3.8.16).

You suggested something like the patch below, didn't you?
Well, that has no effect.

It's strange that only this particular dialog suffers from this
odd transparency problem, when it's popped up from the LaTeX info
dialog. The Preamble dialog uses similar dialog, and works fine.

ShowFile dialog is related to the Browser dialog. Could it be that
some virtual functions are forgotten, or something the like (I don't
know much about this, though)?

Regards,
Rob.

Index: src/frontends/xforms/FormBase.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/FormBase.C,v
retrieving revision 1.63
diff -u -r1.63 FormBase.C
--- src/frontends/xforms/FormBase.C      2002/10/14 16:38:00     1.63
+++ src/frontends/xforms/FormBase.C      2002/11/01 11:09:46
@@ -157,6 +157,7 @@
                              iconify_policy,
                              maximize_title.c_str());
         }
+        fl_redraw_form(form());
 }


Reply via email to