Bug report #20264
ProcessingToolbox crashes on calling mouse context menu
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Nyall Dawson | ||
Category: | Processing/Core | ||
Affected QGIS version: | 3.4.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 28085 |
Description
QGIS crashes when when calling right-mouse-click context menu from a ProcessingToolbox tree-view position below the last TreeNode.
Steps to replicate¶
- Open QGIS
- Open ProcessingToolbox (Ctrl+Alt+T)
- Resize ProceesingToolbox until while free speace appears below last/lowest TreeNode
- Call the TreeView context menu by right-mouse click
Stack Trace¶
QgsProcessingToolboxModel::isAlgorithm : QgsProcessingToolboxTreeView::algorithmForIndex : PyMethodDef_RawFastCallKeywords : PyMethodDef_RawFastCallKeywords : PyEval_EvalFrameDefault : PyFunction_FastCallDict : PyMethodDef_RawFastCallDict : PyObject_Call : PyInit_QtCore : PyInit_QtCore : PyInit_QtCore : PyInit_QtCore : PyInit_QtCore : QMetaObject::activate : QWidget::customContextMenuRequested : QWidget::event : QFrame::event : QAbstractItemView::viewportEvent : QCoreApplicationPrivate::sendThroughObjectEventFilters : QApplicationPrivate::notify_helper : QApplication::notify : QgsApplication::notify : QCoreApplication::notifyInternal2 : QSizePolicy::QSizePolicy : QSizePolicy::QSizePolicy : QApplicationPrivate::notify_helper : QApplication::notify : QgsApplication::notify : QCoreApplication::notifyInternal2 : QGuiApplicationPrivate::processMouseEvent : QWindowSystemInterface::sendWindowSystemEvents : QEventDispatcherWin32::processEvents : CallWindowProcW : DispatchMessageW : QEventDispatcherWin32::processEvents : qt_plugin_query_metadata : QEventLoop::exec : QCoreApplication::exec : main : BaseThreadInitThunk : RtlUserThreadStart :
QGIS Info¶
QGIS Version: 3.4.0-Madeira
QGIS code revision: 4a4b62ed19
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.3.2
Running against GDAL: 2.3.2
System Info¶
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134
Associated revisions
[processing] Fix crash when right clicking toolbox outside of an item
Fixes #20264
[processing] Fix crash when right clicking toolbox outside of an item
Fixes #20264
(cherry picked from commit a873289da7846b6761fe40733d5e7407cce7684d)
History
#1 Updated by Giovanni Manghi about 6 years ago
- Operating System deleted (
Win10 64 bit) - Category changed from Processing/GUI to Processing/Core
Confirmed on Linux too.
#2 Updated by Nyall Dawson about 6 years ago
- Assignee set to Nyall Dawson
- Status changed from Open to In Progress
#3 Updated by Nyall Dawson about 6 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
Applied in changeset qgis|a873289da7846b6761fe40733d5e7407cce7684d.