Bug report #21879

Dragging layers too high in layers panel will reload them, potentially losing data

Added by Johannes Kroeger about 5 years ago. Updated about 5 years ago.

Status:Open
Priority:High
Assignee:-
Category:GUI
Affected QGIS version:3.7(master) Regression?:No
Operating System:Linux? XFCE? Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:29694

Description

Dragging layers too high in layers panel will reload(?) them, potentially losing data

1. Have at least two layers loaded and visible in the layers panel.

2. In the layers panel drag the lower layer up so high above the other layer, into the icons pane just above, so that the "insertion marker line" just disappeared and is not visible anymore.

3. Release the layer.

The layer will be reloaded. You will lose all its settings. If the layer was a memory layer, you will lose its contents!

See the attached video for an example.

layer killer.mkv (57.1 KB) Johannes Kroeger, 2019-04-17 11:00 PM

History

#1 Updated by Johannes Kroeger about 5 years ago

  • Operating System set to Linux? XFCE?

On Windows the cursor turns into a red stop sign when hovering over those icons with a layer in hand. My description is for Linux (Archlinux, XFCE). I am not sure if is a OS or DE/WM thing. Please try in other environments and MacOS.

#2 Updated by Giovanni Manghi about 5 years ago

Cannot replicate on KDE/3.6.1

Also available in: Atom PDF