[Qt4-preview-feedback] QTextCursor::insertFrame() Assertion Failure in 4.5.0-rc1

Carlos Manuel Duclos Vergara carlos.duclos at trolltech.com
Tue Feb 10 17:21:47 CET 2009


Hi,

> The assertion failure happens under the following sequence:
>
> QTextCursor::insertFrame()
> QTextEditor::clear()
> QTextCursor::insertFrame()
>
> The following code will demonstrate this.  Replace MainWindow::newLetter()
> in examples/mainwindows/docwidgets with this, build and run the example. 
> The example application should run fine until you click the "New Letter"
> icon. It should crash the first time you click it.
>

Could you provide us with a simple example that can reproduce this?
We tried to code below and we couldn't reproduce it. Basically you can skip 
the textedit and operate directly on a textdocument.
It does not need to be a big application, something small that can be compiled 
out of the box to reproduce the problem.

Regards

-- 
Carlos Manuel Duclos Vergara
Senior Software Engineer, Team Lead / QA
Qt SW, a Nokia Company
Sandakerveien 116, NO-0484 Oslo, Norway



More information about the Qt4-feedback mailing list