>>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> This is very tricky and it was very hard to find. The Abdelrazak> problem is that GuiWorkArea::paintEvent() uses the Buffer Abdelrazak> before it is completely constructed. Buffer::pimpl is Abdelrazak> still equal to 0, hence the crash in the Painter. Abdelrazak> The attached patch partly solves the problem but there is Abdelrazak> more to it. It fixes the painter crash but there are some Abdelrazak> other crashes behind :-( What about removing the buffer from the lyxview, and reading from disk as with a new file? This way qt would not try to display a file that does not exist. I would really a clean solution like that to tricks like you propose. Or what about telling Qt to give up updates until we are done? I am glad I am not the only one bitten by the fact that Qt knows better than I do what should be done... BTW, since we are mentioning painting: when I start lyx there is a distinct white flash before showing the banner. This is ugly. If I run lyx remotely (over ssh on a gigabit connection!) form an equally fast machine, the flashing is very very noticeable. JMarc