qfieldsync icon indicating copy to clipboard operation
qfieldsync copied to clipboard

Question: why "synchronize from QField" updates/changes the project used to generate the off-line project with "Package for Qfield"?

Open gioman opened this issue 2 months ago • 16 comments
trafficstars

What is the bug or the crash? What were your expectations and what actually happened?

This could be another case of me overlooking docs, if is the case forgive me.

It was a while since I used QFieldsync and can't remember if this was always the case or not.

I'm finding a little puzzling that when using "synchronize from QField" this changes/updates the project used to generate the off-line project with "Package for Qfield".

To be clear:

  • take a project A with a postgis layer within the folder "source"
  • put it off-line with "Package for Qfield", project is called B within the folder "offline"
  • make changes to off-line data in B
  • push changes to postgis with "synchronize from QField" > it works, but also A is changed/modified in a way that now the layer do not point anymore to postgis, but rather to the off-line data within "offline"

Why? If there is a reason, is there a way to avoid it?

Steps to reproduce the issue

See above.

QGIS version

3.40

QFieldSync Version

4.17.3

Operating system name

Windows

Operating system version

11

Reinstall QFieldSync

  • [x] I have a fresh install of the latest QFieldSync version on a new QGIS profile, but the problem persists.
  • [x] Problem can be reliably reproduced, doesn't happen randomly.
  • [ ] Problem happens with all files and projects, not only some files or projects.

Additional context

No response

gioman avatar Sep 11 '25 14:09 gioman