<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi all,</div><div><br></div><div>I'd like to list the 3 blocking Qyoto bugs I've found. I don't have enough time to fix them all on my own so hopefully somebody will be willing to help:</div><div><br></div><div>1. Calling PrinterName() on a QPrinterInfo obtained through QPrinterInfo.AvailablePrinter() crashes about 60 % of the time; <a href="http://pastebin.com/KEXmvR1J">here is a complete stack trace from a Linux box</a> (happens on Windows too);</div><div>2. Using QAbstractTableModel causes frequent crashes because a QEvent (or a subclass of QEvent) instance is passed where a QModelIndex is expected thus causing an InvalidCast. The problem is that a wrong object is returned from the cache because commenting out mapPointer(obj, o, o->classId, 0); <a
 href="https://gitorious.org/assemblygen/assemblygen/blobs/assemblies/assemblies/qyoto-qtcore/native/handlers.cpp">in branch "assemblies", in assemblygen/assemblies/qyoto-qtcore/native/handlers.cpp</a> -> marshall_basetype, causes the error to disappear. The problem may be that a wrong pointer is returned in this piece in the same method:</div><div><span class="tab">    <span style="font-family: monospace;">            p = construct_copy( o );<br>            if (p != 0) {<br>                o->ptr = p;<br>                o->allocated = true;<br>            }</span></span></div><div> <span class="tab">    , </span>because mapPointer is a very simple method and it
 seems unlikely that anything might go wrong in there;</div><div>3. QTableView.SelectionModel.SelectedRows(), QTableView.SelectionModel.SelectedIndexes(), QTableView.SelectionModel.Selection().Indexes() all return invalid QModelIndexes when there is a valid selection - apparently there is some problem marshalling QModelIndexList.</div><div><br></div><div>Any assistance is appreciated. Thanks.<br> </div></div></body></html>