Some points of same layer won’t open attribute form in QField, even though they exist and work in QGIS desktop,
I have a point layer in QGIS with many features, some of which share the exact same coordinates. (I converted from csv data to geopackage, then customized the form)
In QGIS desktop, all points open their attribute forms without issue.
In QField, some points open normally, but others do not open the form at all, even though the point is visible on the map.
All points are in the same layer, same style
Hi,
there is a QField setting called ‘Open feature form for single feature identification’.
If this is set to true, the feature form will not automatically open when multiple features are identified, which is the case if multiple features have the same coordinates.
In that case a feature list will open, allowing you to choose between the different features.
Each feature in the list is displayed by it’s value corresponding to the field set in the Layer option Display in QGIS.
Maybe this is what is happening in your case?
No, I tested that setting and it was not the issue. The problem was with the GeoPackage layer. When I converted the data to a Shapefile, everything worked perfectly in QField. Not sure why, probably because shapefile handles the pre-stored data better with new sets of default values in attribute form.
@Ishteaque , if you have a sample project that can easily replicate this issue, please go file an issue on QField’s github repository with that sample project.
A few versions ago, it’d have to be QField 3.5 or so, there was an issue that caused something very similar to what you described. It was in QGIS, and we fixed it a while back ([expression] Fix $id integer overflow by removing static_cast<int> by nirvn · Pull Request #60521 · qgis/QGIS · GitHub). What version of QField are you running?