Re: [Interest] Double free in QItemDelegate editor
Il 03/09/20 22:51, Kyle Edwards via Interest ha scritto: My project (CMake GUI) has a class which extends QItemDelegate and overrides QItemDelegate::createEditor(). However, the editor that gets returned by this method gets double-freed, and I'm not sure exactly why. (I did notice that QItemDelegate::destroyEditor() calls the editor's QObject::deleteLater() by default - does the editor already get deleted when its parent gets deleted?) Do you have a minimal testcase? What does valgrind / ASAN say? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts smime.p7s Description: Firma crittografica S/MIME ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
[Interest] Double free in QItemDelegate editor
Hello, My project (CMake GUI) has a class which extends QItemDelegate and overrides QItemDelegate::createEditor(). However, the editor that gets returned by this method gets double-freed, and I'm not sure exactly why. (I did notice that QItemDelegate::destroyEditor() calls the editor's QObject::deleteLater() by default - does the editor already get deleted when its parent gets deleted?) What's interesting is that this issue only happens when using the Qt binaries from https://qt.io/download. When I use the system binaries from APT (which I believe ultimately delegate to GTK), everything works fine. Any ideas on what might be wrong? Kyle ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] QtWebkit stylesheet issue using css
Does it makes sense to QtWebkit 5.6.3 incase this issue had been introduced in latest WebKit 5.212 or move to Qt webengine though there is no direct API for setuserstylesheet? Let me know your feedback in this regard. Best Regards, Ramakanth On Wed, 2 Sep, 2020, 21:26 Ramakanth Kesireddy, wrote: > Hi, > > Am using Qt WebKit 5.212 Alpha4 release through yocto build on top of Qt > 5.6.3 binaries. > Raised the issue https://github.com/qtwebkit/qtwebkit/issues/1021 where > scroll bar stylesheet using css is not visible on target. > > > It does work with scrollbar visible on ubuntu using css stylesheet > using the API setUserStyleSheetUrl(). > > If so, is there any patch to fix the same incase it is a upstream webkit > issue or known issue that scroll bar is not visible with css on target or > am missing any dependency on target? > > Is it worth trying on Qt 5.5.1 incase such issue is not observed? > > Please suggest in this regard. > > Best Regards, > Ramakanth > ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest