Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug - Changes lost after a specific manipulation #5215

Open
Ipickedausername opened this issue Apr 26, 2024 · 9 comments
Open

Possible bug - Changes lost after a specific manipulation #5215

Ipickedausername opened this issue Apr 26, 2024 · 9 comments
Labels

Comments

@Ipickedausername
Copy link

Ipickedausername commented Apr 26, 2024

Hi,

The information written in the fields is lost when we tap on the name of the feature.

On the video right after, you can see changes on the feature are not saved when I tap on the name "Monitoring (03-Flora)...".

az-recorder-20240426-224428_8b6mx0YP.mp4

Do you think it is a bug ?
In any case, this can bring to data loss.

Desktop
OS: [Windows 10]
QGIS Version [3.36.1]
QFieldSync Version [4.9.1]

Mobile
Device: [Samsung Galaxy S9]
OS: [Android 11]
QField version: [master-dev (14a0be)]

Additional information

Problem started happening recently, didn't happen in an older version of QField: [Yes] (Qfield 3.2.2 - Congo)
Problem can be reliably reproduced, doesn't happen randomly: [Yes]
Problem happens with all files and projects, not only some files or projects: [Yes]

@m-kuhn
Copy link
Member

m-kuhn commented Apr 27, 2024

Can you provide a minimal example with as little layers and attributes as possible to reproduce this behavior?

@Ipickedausername
Copy link
Author

Ipickedausername commented Apr 29, 2024

Hi,
Sorry, I was on the field when I prepared this post and I didn't give much information.
I've made some tests on a project.
Here is the test project:
Test_project_QFIELD.zip

To reproduce the error:

Disable "Maximized attribute form"
Open the only existing feature in the layer "test_layer"
Update one of the available fields.
Tap on the name of the feature, or slide down (with the finger on the name of the feature, in order to save changes).

You'll see the error message, saying "Unable to save changes"

@m-kuhn m-kuhn removed the feedback label Apr 29, 2024
@SeqLaz
Copy link
Member

SeqLaz commented Apr 30, 2024

Hi @Ipickedausername ,

I did some test and I was not able to reproduce the issue,

Test Possible bug - Changes lost after a specific manipulation 002.pdf

@Ipickedausername
Copy link
Author

Hi,

Here another video with the complete process.

You can see that:
1] with maximized attribute form, change is saved
2] with disabled maximized attribute form, the same change is not saved.

0-02-0a-6651bde20dd37cca41d1d61abe479285b3376c8c915953174a627f2b9fd38df8-9d8b9fb_qqaduer3.mp4

@SeqLaz
Copy link
Member

SeqLaz commented Apr 30, 2024

Hi @Ipickedausername ,

Apologize but still can't reproduce it

Test_Possible_Bug.mp4

@Ipickedausername
Copy link
Author

This issue happens on the master-dev version and on the official Qfield version.
Are you trying on a phone ? Dunno if it can make a difference.

I tried to change several options, the app kept behaving the same.
I'll try on another phone when I have time.

@SeqLaz
Copy link
Member

SeqLaz commented Apr 30, 2024

This issue happens on the master-dev version and on the official Qfield version. Are you trying on a phone ? Dunno if it can make a difference.

I tried to change several options, the app kept behaving the same. I'll try on another phone when I have time.

@Ipickedausername Both tests were conducted using the QField v3.2.2 official release, with the first one on Linux and the last one on Android 11.

@Meykaefer
Copy link

Meykaefer commented May 6, 2024

I was able to reproduce the issue with the test-project provided - see video below:

Test.MP4

I think what is happening is that when I use a slide down motion to save the changes it displays the the error message "Unable to save changes", but it still saved the changes for me. If I only tapped the name and closed the form I wouldn't see the error message. So based on my observations it displays the error message when saving/closing the feature form with a slide down, but it still saved the changes to the feature.

Not sure if that helps.

Device: [IPad 9th gen]
OS: [OS 17.2]
QField version: 3.2.2 (72be17 v3.2.2)]

@Ipickedausername
Copy link
Author

Thank you for testing.
In my case, it doesn't save. This is curious 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants