Bug report #4237

Disabling line layer editing without finishing line leaves a ghost line object (even in new projects!)

Added by marisn - about 13 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:14189

Description

Steps to reproduce:
1) Add a vector line layer (shapefile);
2) Enable editing;
3) Start to draw a line;
4) Disable editing;
Unfinished line is still here
5) Click on "New Project";
Unfinished line is still here
6) Add a new, different vector line layer;
Unfinished line is still here
7) Enable editing;
8) Start to digitize a new line
QGIS continues to digitize old "ghost" line from previous project! Or should it be called "zombie" line, as it can not be killed?

Tested on 1.7.0 and trunk (or how it's called now?) on ~AMD64 Gentoo.

qgis_ghost_line.png - Where this line lives? (73.2 KB) marisn -, 2011-08-29 09:48 PM

Associated revisions

Revision 479e3cb7
Added by Sebastian Dietrich over 7 years ago

Reset digitizing tools when new project is loaded/created

Refs #4237 https://issues.qgis.org/issues/4237

History

#1 Updated by Tim Sutton about 13 years ago

  • Target version changed from Version 1.7.1 to Version 1.7.2

#2 Updated by Giovanni Manghi almost 13 years ago

  • Target version changed from Version 1.7.2 to Version 1.7.3

#3 Updated by Giovanni Manghi almost 13 years ago

  • Target version changed from Version 1.7.3 to Version 1.7.4

#4 Updated by Giovanni Manghi almost 13 years ago

  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to No
  • Subject changed from Disabling line layer editing without finishing line leaves a ghost line object to Disabling line layer editing without finishing line leaves a ghost line object (even in new projects!)
  • Category changed from Vectors to Digitising

Confirmed on master and 1.7.3 under both Windows and Linux.

#5 Updated by Paolo Cavallini almost 13 years ago

  • Priority changed from High to Normal

#6 Updated by Paolo Cavallini over 12 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0

#7 Updated by Paolo Cavallini about 12 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#8 Updated by marisn - over 11 years ago

Issue is still present in 1.9.0-master (e3b8b41) still it has changed a bit as now digized line in the new project is not visible at all and QGIS reports line intersecting itself all the time on every click...

#9 Updated by Jürgen Fischer over 10 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#11 Updated by Médéric RIBREUX almost 9 years ago

Hello, bug triage...

everything is still true in QGIS 2.13 master, the PR hasn't been applied.

#12 Updated by Sebastian Dietrich almost 9 years ago

See PR 2540 for a solution.

#13 Updated by Sebastian Dietrich almost 9 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • % Done changed from 0 to 50

#14 Updated by Giovanni Manghi over 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#15 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Closed
  • Resolution set to end of life

Also available in: Atom PDF