[QGIS-Developer] QGIS Browser Panel item refresh cause crash

Samweli smwltwesa6 at gmail.com
Fri Jan 3 05:45:02 PST 2020


Hi all,

I'm working on adding refresh action to OGC services in QGIS, compiling QGIS
master and doing a refresh on postgres data provider connection item while a
WMS connection item is open and there are changes ( from WMS Server ) in WMS
layer items will cause a QGIS crash.

I was able to reproduce the same issue in QGIS 3.4 and QGIS 3.10. Does
anyone confirm?

Below is the traceback from QGIS 3.10.

.................
QgsBrowserModel::data qgsbrowsermodel.cpp:251
QSortFilterProxyModel::data :
QModelIndex::data :
QStyledItemDelegate::initStyleOption :
QStyledItemDelegate::sizeHint :
QTreeViewPrivate::widthHintForIndex :
QTreeView::sizeHintForColumn :
QHeaderView::resizeSections :
QHeaderView::sectionSize :
QTreeViewPrivate::updateScrollBars :
QTreeView::updateGeometries :
QTreeView::timerEvent :
QObject::event :
QWidget::event :
QFrame::event :
QAbstractScrollArea::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify qgsapplication.cpp:418
QCoreApplication::notifyInternal2 :
QEventDispatcherWin32::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify qgsapplication.cpp:418
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
QEventDispatcherWin32::processEvents :
UserCallWinProcCheckWow :
DispatchMessageWorker :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main main.cpp:1598
BaseThreadInitThunk :
RtlUserThreadStart :
........





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html


More information about the QGIS-Developer mailing list