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 sdikiy, 16 years ago

Keywords: qgsmaptoolidentify QgsMapToolIdentify::identifyVectorLayer added
Platform: WindowsAll
Platform Version: XP

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.

comment:2 by sdikiy, 16 years ago

Owner: changed from nobody to mhugent

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.

comment:3 by mhugent, 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

in reply to:  3 comment:4 by jef, 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

comment:5 by jef, 16 years ago

Resolution: fixed
Status: newclosed

fixed in r9092

comment:6 by (none), 15 years ago

Milestone: Version 1.0.0

Milestone Version 1.0.0 deleted

comment:7 by sdikiy, 14 years ago

Resolution: fixed
Status: closedreopened
Version: 0.11.01.4.0

"Can not edit object attributes -- when clicking on object..." :-(

in reply to:  7 comment:8 by jef, 14 years ago

Resolution: fixed
Status: reopenedclosed

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.

Note: See TracTickets for help on using tickets.