Feature request #1745
QGis crashes dragging a Legend Layer File over a Legend Layer File Group
|Pull Request or Patch supplied:||Resolution:||fixed|
|Easy fix?:||No||Copied to github as #:||11805|
QGis crashes dragging a Legend Layer File over a Legend Layer File Group. It happen over center of the item Layer File Group because the Legend Layer File pass to the same level as symbology on the Legend Layer, below center of the Layer File Group the drag works fine. The drag is not allowed to another position.
#2 Updated by Marco Hugentobler about 10 years ago
Looking at the patch it seems to me that it would be better to handle it in a generic way in qgslegend.cpp (not only for LEGEND_LAYER_FILE and LEGEND_LAYER_FILE_GROUP).
I'm nearly about to rush to the train station for holidays. I'm coming back to this ticket in about a week.
#4 Updated by Marco Hugentobler about 10 years ago
I don't have the crash on my system, only the move of the legend layer file to the symbology section. 'legendpatch.diff' fixes that in a generic way (only using the return value of dest->accept(), without explicitely mention the concrete classes).
Could you test if this also works for you and if it fixes the crash on your system or not?
#5 Updated by Giovanni Manghi about 10 years ago
It is pretty easy to reproduce the crash (rev. 11186), see this
Now I'll compile the latest revision and try the patch.