Opened 16 years ago
Closed 14 years ago
#1215 closed bug (fixed)
"blue pencil" Attribute Edit
Reported by: | sdikiy | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | GUI | Version: | 1.4.0 |
Keywords: | qgsmaptoolidentify, QgsMapToolIdentify::identifyVectorLayer | Cc: | |
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
Can not edit object attributes -- when clicking on object in edit mode, info popup appears. Should appear "Enter attribute values", but "Identify results" pops up.
http://forum.qgis.org/viewtopic.php?f=2&t=1349&st=0&sk=t&sd=a&start=15
Change History (8)
comment:1 by , 16 years ago
Keywords: | qgsmaptoolidentify QgsMapToolIdentify::identifyVectorLayer added |
---|---|
Platform: | Windows → All |
Platform Version: | XP |
comment:2 by , 16 years ago
Owner: | changed from | to
---|
Hi, Marco
What reason for remove ability 'Attribute Edit' in QgsMapToolIdentify::identifyVectorLayer r7884?
https://trac.osgeo.org/qgis/browser/trunk/qgis/src/app/qgsmaptoolidentify.cpp?rev=7884
Thank you.
follow-up: 4 comment:3 by , 16 years ago
Hi sdikiy
The reason is that QgsVectorLayer is not able to cope with geometry edits and attribute edits (uncommited changes) at the same time. It is a deficiency and hopefully it can be solved in the future. Because of this deficiency, the attribute table is modal for attribute edits such that user has to close it before doing further map editing. In the same sense, I commented out the code in QgsMapToolIdentify that would allow users to change values in edit mode.
Marco
comment:4 by , 16 years ago
Replying to mhugent:
The reason is that QgsVectorLayer is not able to cope with geometry edits and attribute edits (uncommited changes) at the same time.
What a coincidence. I just ran into that problem and working it...
See http://lists.osgeo.org/pipermail/qgis-developer/2008-August/004602.html
follow-up: 8 comment:7 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Version: | 0.11.0 → 1.4.0 |
"Can not edit object attributes -- when clicking on object..." :-(
comment:8 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Replying to sdikiy:
"Can not edit object attributes -- when clicking on object..." :-(
Huh? You can set the configure the identify tool to open the feature form when you identify a single feature - which is in editing mode, if the layer is. If you hit multiple features, you need to open a feature form for each feature from the action form.
Please, modify QgsMapToolIdentify::identifyVectorLayer in /trunk/qgis/src/app/qgsmaptoolidentify.cpp (add line from 417,516 to 589 in really used function). If it`s possible.