[Qgis-developer] Legend refactoring branch merged
larrys at dakotacarto.com
Wed May 21 12:39:43 PDT 2014
Thanks for your work on this and for the sponsors that supported it!
Couples things I noticed:
* There is no longer and indication that a layer is in edit mode, or not,
i.e. the edit pencil icon, and its relative states (red or yellow), is gone.
* There is no longer an indication of the active layer, previously the one
underlined. This is different than the currently selected layer(s). The
underline would persist with no selection, or multiple selections, and
would mirror the view's currentItem(), or in maybe now currentIndex(). When
iface.activeLayer() is used in console, it should return the identical
layer in the legend that is underlined, or otherwise indicated as active.
* Something is funky with the connections between the legend and the
Current Edits functionality. After a layer is no layers are editable
anymore, the submenu is still active, offering to cancel edits. I added
that code, and can investigate more after the feature freeze.
* There is no longer a tool tip when hovering over the layer, showing the
layer's source definition.
* When opening one project, QGIS crashed with the following (project never
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
0 org.qgis.qgis2_core QgsSymbolV2::drawPreviewIcon(QPainter*, QSize) +
QgsSymbolLayerV2Utils::symbolPreviewPixmap(QgsSymbolV2*, QSize) + 114
QgsLayerTreeModel::addSymbologyToVectorLayer(QgsLayerTreeLayer*) + 570
QgsLayerTreeModel::addSymbologyToLayer(QgsLayerTreeLayer*) + 88
4 QtCore QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) + 2141
QgsLayerTreeLayer::registryLayersAdded(QList<QgsMapLayer*>) + 307
6 org.qgis.qgis2_core QgsLayerTreeLayer::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) + 172 (qlist.h:731)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer