QField icon indicating copy to clipboard operation
QField copied to clipboard

QR function access

Open berniefritsch opened this issue 2 years ago • 2 comments

Describe the issue

Menu for opening QR code function is in the back

Reproduction steps

Form is designed with using 'Visibility controlled by expression`- function in QGIS

Expected behavior

Menu after clicking the three dots should appear in the front to be able to use the QR code scanner and return to form afterwards

Observed behavior

Menu is in the back, form closed in order to get access to the QR Reader

Screenshots and GIFs

ScreenshotQR

Desktop (please complete the following information)

  • OS: Windows
  • QGIS Version [e.g. 3.20.0]
  • QFieldSync Version 4.2.0

Mobile (please complete the following information)

  • Device: Samsung Galaxy Tab Active Pro SM-T545
  • OS: Android 11
  • QField version: 2.3.2 (07ed27)

Additional information

  • Problem started happening recently, didn't happen in an older version of QField: Yes
  • Problem can be reliably reproduced, doesn't happen randomly: Yes
  • Problem happens with all files and projects, not only some files or projects: Yes

berniefritsch avatar Oct 06 '22 10:10 berniefritsch

Looking at the screenshot, this seems to be happening when editing objects on a relation (child), is this correct?

m-kuhn avatar Oct 07 '22 07:10 m-kuhn

Yes, this is the case of a editing objects on a relation (child). The QRCode function is inside a vector layer (child) related to a geometryless table (parent) and it does not work properly, as shown in the screenshot. However, this does not happen if the function runs through the parent table and not through the child layer. The function is supposed to work through the layer, anyway. Thanks in advance for your suggestions.

berniefritsch avatar Oct 07 '22 08:10 berniefritsch

@berniefritsch , your issue has been fixed. If you have a moment to test APKs here (https://github.com/opengisch/QField/pull/3419) and confirm the issue has gone, it'd be appreciated.

nirvn avatar Oct 07 '22 10:10 nirvn

Thanks a lot, seems to work perfectly!

berniefritsch avatar Oct 07 '22 12:10 berniefritsch

@berniefritsch , did you post a comment earlier today? Github seems to have completely removed it, I only have an email trace of it.

nirvn avatar Oct 13 '22 14:10 nirvn

Yes, I posted a comment and deleted it myself. I thought I had updated QField via Playstore and the error still exists, but apparently I did not update QField (2.4 is not in the playstore yet?) and was working in the old version. I now installed the latest 2.4 apk from github and everything is fine.

berniefritsch avatar Oct 13 '22 14:10 berniefritsch

@berniefritsch , I was hoping you'd reply along those lines :) we have started rolling out the new version to users gradually. By the end of the weekend, it should be available to all users.

nirvn avatar Oct 13 '22 15:10 nirvn