On Tue, Sep 23, 2008 at 02:08:48PM +0200, Vincent van Ravesteijn - TNW wrote: > Jmarc wrote: > > First thing I have to say is that I like this patch. > > +1 ;-) > > > - math insets previews will keep their background, even when no > > specific background was really wanted. What is weird is that they > > become transparent when they are edited or selected. > > This is hardcoded and commented in the code, so this probably has a > valid reason, which I don't understand, to be honest. I'll try what > happens when I remove this (something I learned from the list a while > ago). > > Src/mathed/InsetMathHull.cpp: > 388 // background of mathed under focus is not painted because > 389 // selection at the top level of nested inset is difficult to > handle. > 390 if (!editing(pi.base.bv)) > 391 pi.pain.fillRectangle(.., Color_mathbg);
Could be an old "solution".... I would not be surprised if removing it would help. Andre'