opengisch / QField

A simplified touch optimized interface for QGIS
http://www.qfield.org
GNU General Public License v2.0
841 stars 228 forks source link

After panning the map several times, the recticle of adding a new feature doesn't move to the right position of the stylus #5296

Open tobiasgrau0 opened 5 months ago

tobiasgrau0 commented 5 months ago

Describe the issue

After panning the map several times and add some new points with the stylus, the reticle for adding a new feature don't move to the position of the stylus - the new point feature will be added in a wrong position.

https://github.com/opengisch/QField/assets/171577940/606600b1-9703-46f0-86fc-d8634e80fbfb

Reproduction steps

Steps to reproduce the behavior:

  1. Add some new points with the stylus
  2. Panning the map several times
  3. Add further points with the stylus

Expected behavior

The reticle move to the position of the stylus.

Observed behavior

Sometimes the reticle doesn't move, sometimes it only moves after zooming in and zoom out

Screenshots and GIFs

See video (only a short abstract)

[Please also attach additional files if a specific project/dataset is useful to investigate the problem.]

Additional information

[If the problem happened with QFieldCloud, please add your username and project name.]

nirvn commented 5 months ago

@tobiasgrau0 , can you test with APKs here: https://github.com/opengisch/QField/pull/5359 -- are you still able to replicate?

tobiasgrau0 commented 5 months ago

@nirvn : i have tested it with the APK 5359 unfortunately the problem is not solved

Paul-Losse commented 3 months ago

I have the same problem. The stylus works fine until you pan the map and then stops functioning

lp-dj commented 1 month ago

I can also confirm the problem in the latest QField version (3.4.3 - Ebo 412c8d).

I even updated/ upgraded to the latest hardware (Samsung Galaxy Tab Active 5 5G) and operating system (Android 14, One UI 6.1) to make sure that my ongoing problems with stylus use (unfortunately not just the issue described here) are not due to the outdated base.

Regarding the issue discussed here: I found out that you can get the stylus to work again quite reliably by tapping the burger menu (three dashes at the top left) once. If you then tap back on the map canvas, the stylus works again as intended. The procedure also works during a digitizing process.

Maybe this can be a hint for bugfixing, @nirvn?