QField icon indicating copy to clipboard operation
QField copied to clipboard

QField does not respect the Lock Geometries setting

Open suricactus opened this issue 2 years ago • 2 comments

Hi everyone,

This enhancement seems to not work in my project.

I have tried it with Qfield 2.0.16 and 2.1. I work with QGIS 3.16.15.

My project consists in 3 layers (1 points geometry and 2 tables). There are 2 relations in the project, in order to accessing and editing different information by identifying a single point,

I need them to be only attribute editable. Do not want the possibility to add/move/delete features.

I have blocked the geometries in Layer properties > QField > Block geometry.

image

And I have set the following settings in Project properties > Data source:

image

Also, when I configure the fields via Drag and drop designer, it seems to me that the buttons of the relation options return to mode ON every time I reopen the project:

image

Might be the problem in this final step?

I attach a copy of the project and the files.

Thank you,

Gabriel Garcies

MyProjectCase.zip

Originally posted by @gabgarcies in https://github.com/opengisch/QField/issues/2433#issuecomment-1111837968

suricactus avatar Apr 28 '22 10:04 suricactus

Hey @gabgarcies, I moved your comment here. I think you were mixing a bit the PR where you posted (which was about relations only) and the "Lock Geometry" setting. There was an issue with the latter indeed, which should be fixed in #2828 .

suricactus avatar Apr 28 '22 10:04 suricactus

Hi,

After your efforts on this issue, I see no changes trying the same with QField Beta 2433 version of the app.

In QGIS Desktop, the following tags are automatically checked every time I reopen the project: image

So, this unwanted behaviour still occurs:

image

I am using QGIS Desktop 3.16.15 and QFieldSync 4.1.0. Is there a QGIS Desktop version you recommend me to try with?

Thanks,

Gabriel

gabgarcies avatar May 05 '22 11:05 gabgarcies