Georg Baum wrote: > No. I was unable to reproduce the problem (as Pavel, with the same qt > version 4.6.3). The strange thing is that the background colors are only > used for LaTeX output, so changing them should not influence any GUI color > (actually it should, but it is not implemented. Uwe reported a bug about > this, but I can't find it right now). > > I browsed a bit through the code, but did not find anything obvious > (besides an unrelated bug with a color reset button).
Thanks for fixing this. My bad. > The attached patch > is a shot in the dark. Unfortunately, it does not help. > Two things might be related: > > 1) Maybe your qt does not like the invalid QPalette::ColorRole value -1? > 2) The GuiDocument uses some static variables. Maybe they get corrupted by > some other memory error? If yes, then the second part of the patch should > make a difference. > > I also notice a lot of uninitialised value warnings for > QTransform::fromTranslate() in your valgrind log. When I run with valgrind > I get only two of these warnings, both times in libz when loading an > image. Which qt version do you use? Maybe that qt code gives a hint. Qt 4.7.2. Jürgen