Bug report #10351

widget refactoring regression: impossible to add features to a column-less memory layer

Added by Mathieu Pellerin - nIRV almost 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Matthias Kuhn
Category:-
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:18772

Description

Steps to reproduce:
1. Create a new project
2. Add a memory layer (polygon)
3. Turn on the edit mode of that newly added memory layer
4. Trace a new polygon with a couple of nodes and right click to finish tracing
5. An empty window will pop up, clicking on OK will result in no feature added

Obviously, clicking on OK should insure the feature is added :) It might be worth skipping the empty window pop up for field-less layers like memory layers.


Related issues

Duplicates QGIS Application - Feature request #1386: Enhanced Map Tips through Macro Language/Operators Closed

Associated revisions

Revision 5e240b89
Added by Matthias Kuhn almost 10 years ago

Fix add feature dialog for attribute-less layers
Fix #10351

History

#1 Updated by Paolo Cavallini almost 10 years ago

  • Subject changed from widger refactoring regression: impossible to add features to a column-less memory layer to widget refactoring regression: impossible to add features to a column-less memory layer

#2 Updated by Matthias Kuhn almost 10 years ago

  • Status changed from Open to Closed

#3 Updated by Mathieu Pellerin - nIRV almost 10 years ago

Thanks Matthias.

#4 Updated by Matthias Kuhn almost 10 years ago

Mathieu, I now just fixed the "Ok" button version.
Fixing it with removing the dialog would not be difficult afaict, but I'm hesitating to change this during feature freeze. I think in 2.2 there was also an empty dialog? I think I'll create a pull request for 2.6 but my internet connection is terribly slow here, so it takes a while to upload.

Also available in: Atom PDF