Layer drag 'n drop

Issue #143 closed
Benjamin Jakimow created an issue

layer order is not changeable by drag 'n drop

windows: layers become invisible

linux: QGIS crashed

Comments (4)

  1. Fabian Thiel

    Dragging Layer into Map View via Data Views Menu can also cause crash on windows (see report below). Dragging directly into Map View seems to work reliably though...

    h2. User Feedback
    
    
    
    h2. Report Details
    
    *Crash ID*: 55f1d3adce03df9e46de2a3681fb5c330303992b
    
    
    *Stack Trace*
    <pre>
    QObject::metaObject :
    QMetaObject::cast :
    QgsLayerTreeModel::parent :
    std::basic_string<char,std::char_traits<char>,std::allocator<char> >::max_size :
    QModelIndex::parent :
    QTreeView::drawRow :
    QTreeView::drawTree :
    QTreeView::paintEvent :
    QWidget::event :
    QFrame::event :
    QAbstractItemView::viewportEvent :
    QCoreApplicationPrivate::sendThroughObjectEventFilters :
    QApplicationPrivate::notify_helper :
    QApplication::notify :
    QgsApplication::notify :
    QCoreApplication::notifyInternal2 :
    QWidgetPrivate::drawWidget :
    QWidgetPrivate::paintSiblingsRecursive :
    QWidgetPrivate::paintSiblingsRecursive :
    QWidgetPrivate::paintSiblingsRecursive :
    QWidgetPrivate::drawWidget :
    QWidgetPrivate::paintSiblingsRecursive :
    QWidgetPrivate::drawWidget :
    QWidgetPrivate::paintSiblingsRecursive :
    QWidgetPrivate::drawWidget :
    QWidgetPrivate::paintSiblingsRecursive :
    QWidgetPrivate::drawWidget :
    QApplication::windowIcon :
    QWidget::event :
    QMainWindow::event :
    QApplicationPrivate::notify_helper :
    QApplication::notify :
    QgsApplication::notify :
    QCoreApplication::notifyInternal2 :
    QCoreApplicationPrivate::sendPostedEvents :
    QGraphicsScene::~QGraphicsScene :
    QObject::event :
    QGraphicsScene::event :
    QApplicationPrivate::notify_helper :
    QApplication::notify :
    QgsApplication::notify :
    QCoreApplication::notifyInternal2 :
    QCoreApplicationPrivate::sendPostedEvents :
    qt_plugin_query_metadata :
    QEventDispatcherWin32::processEvents :
    DispatchMessageW :
    NotifyWinEvent :
    QEventDispatcherWin32::processEvents :
    qt_plugin_query_metadata :
    QEventLoop::exec :
    QCoreApplication::exec :
    main :
    BaseThreadInitThunk :
    RtlUserThreadStart :
    </pre>
    
    
    *QGIS Info*
    QGIS Version: 3.2.0-Bonn
    QGIS code revision: commit:bc43194061
    Compiled against Qt: 5.9.2
    Running against Qt: 5.9.2
    Compiled against GDAL: 2.2.4
    Running against GDAL: 2.2.4
    
    
    
    *System Info*
    CPU Type: x86_64
    Kernel Type: winnt
    Kernel Version: 6.3.9600
    
  2. Log in to comment