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
QField unresponsive after stylus editing #5010
Comments
Hello, I reproduce exactly the same odd behaviour on my tablet ; QFIELD 3.1.9 / QGIS PROJECT 3.28.15 / Tablet Galaxy Tab Active3 /Android 11 / One UI 3.1 Please note that ;
|
Yes, this is exactly the behaviour I'm experiencing with the same tablet. A solution would be very welcome! |
The problem is still unsolved... And it seems that this other ticket refers to the same issue ; |
I've been experiencing similar behaviour on a Samsung Galaxy S7 - for me the stylus cannot perform any digitizing function, I can only select objects or enter attribute data. This occurs every time. Intermittently after editing an object (split/edits nodes) I can then no longer select objects via stylus or finger/touch. |
I also reported this issue a while back. When using the stylus (Galaxy Tab Active 3) the bookmark dialogue comes up, after which I cannot select anything using the stylus. I can move the map around with the stylus but not select anything. I cannot move the map with my finger. This seems to have something to do with the size of the stylus - if you don’t use the stylus at all, then everything works as it should. |
@violetlatch , could you try to see if the APK in this PR (#5107) improves the situation? |
@nirvn @violetlatch I hope it's okay if I get myself involved. I've been an enthusiastic QField user for many years. But from the beginning one of my biggest problems has been the unfortunately quite error-prone stylus usage. I would be happy if I could help here as a beta tester. I have tested the APK, unfortunately it doesn't seem to solve all the problems yet. Here is an adb_log of my attempt: (Samsung Galaxy Tab Active Pro, Android 11, One UI 3.1, Bee Farming Sample Project) As you can probably see from the log, at first I had problems with the stylus being recognized as such (this happens more often). Once I was able to draw with the stylus, it worked very well. However, after that many interactions with the finger on the canvas no longer worked (selecting objects an so on, see comments above). Please let me know if I can help with further information. |
@nirvn @violetlatch |
Yes, that APK seems to solve the problem of being able to select features with the stylus. The only problem now is that I can only scroll through the menu using a finger. |
So it's 2:1 here for "Problem solved" versus "Problem persists"? Similarity of the leading side: Android 13 with One-UI 5.x? Could my older Android version be the problem? |
This problem seems to have been largely solved for me with the 3.20 update. The only remaining issue is that after editing with the stylus, the cursor does not usually return to the centre of the screen automatically (see issue 5063). However it occasionally does behave as expected. |
The 3.20 update hasn't changed the issues for me. |
@lp-dj , @ollieprudden , can you try the APKs in this PR: #5135 (comment) and report whether things are better? |
@nirvn Now we are talking, works like a charm 😍 Thank you for your quick response! When is the next official release including this update? Can hardly wait for it! ;) |
@lp-dj , happy to hear this -- can you try to "break" this QField build? Go wild, do measurements, digitizing, etc. and let me know if you spot any regressions. Thanks. |
Hi - that version does work for me, the same as the previous beta so no problems with finger or stylus entry. It does seem to have reverted to another problem that I had before which is that the cursor returns to the centre of the screen and adds the final node there after any digitising / splitting is completed which means hat the object being digitised gets a 'spike' added to it with the last node on the screen centre, or objects being split get an extra split line from the last intended split line node to the centre. |
@nirvn Good that you remained skeptical. And sorry that I was apparently too hasty. I tested again in more detail for a while and tried to go wild, as you said ;) In fact, after some time the following problems occurred again (sorry for the bad news):
All in all, it is difficult to reproduce reliably, but the situations described above do occur regularly with intensive use. A reasonably practicable mode appears to be in the tested state: Operating the map canvas and digitizing the geometry exclusively by stylus; operating the attribute form by finger. Please let me know if and how I can help! |
@ollieprudden , the APKs here should fix that issue you are talking about: #5138 (comment) |
@nirvn - unfortunately that hasn;t fixed it. When I first opened the beta version it didn't re-centre the cursor to the middle but did still use the final position of the crosshair as a node when you end the digitising of a shape or perform a split - its very hard to avoid moving the cursor off the last added node without any movement After a couple of splits to test it I could no longer use finger input. Now when I re-open the beta version, it always re-centres the crosshair and adds a node at the centre, which seems odd that I can;t get it to behave the way it did when I first installed the 5138 version - I've checked the version and that is the one I'm using. |
@ollieprudden , alright, well, the quest to figure out Qt's stylus handling continues :) if you can attach a video demonstrating what you see, it'd be useful. |
Screen.Capture.-.1st.object.editing.mp4digitising this object created a node at the cursor location (I didn;t click for a node here) |
Screen.Capture.-.2nd.object.split.mp4Second object (I re-positioned the screen so the cursor was close to the final node i intended to add) - splitting worked as anticipated - i.e. it only split between nodes that I had digitised and not adding a split line to the final cursor position |
Screen.Capture.-.2nd.object.split.again.mp4when I split the object a second time, the split line included the line from the last node I digitized to the cursor location. At this point single finger selection was no longer working, but two fingers would still pan. hope this helps! |
@Paul-Losse , @ollieprudden , @lp-dj , fresh builds for you guys to try right here: #5149 (comment) -- I'd love to hear from you as to whether stylus handling has further improved in the APKs there. Thanks! |
I tested this morning. It seems to be working perfectly for me now. I can switch between using finger and stylus without problem and after using the stylus the cursor now returns to the centre of the screen after one touch which it wasn't doing before. Many thanks, Paul |
@Paul-Losse , that's great news -- have you tried the new drawing-over-image functionalities offered by that PR too (as demo'ed by the screencast in the description)? :) thanks for taking the time to test and report. |
I've just tried drawing over an existing photo but unfortunately it caused QField to freeze. The ability to add videos, record a video clip etc is excellent though |
@Paul-Losse , interestingly enough, the video (and audio) support has been there for a while, but the UI made it real hard to find as it required a specific attribute configuration. This new UI exposes everything no matter what. Could you send me the photo that froze QField? I'm not seeing it locally when trying eg photos from the bees demo project. |
I tried a few times. QField froze at this point, although it did work on a couple of attempts |
@Paul-Losse , by freezing you mean the UI becomes unresponsive or is it "actually" frozen (i.e. Android complains about frozen app kind of situation)? |
QField became unresponsive but I could shut it down and use other apps. No warning messages |
Update: having tried a few more times, it often works, but takes a very long time to respond after tapping the tick |
@Paul-Losse , excellent feedback, I'm pretty sure I know what's happening then. Thanks |
@nirvn Excellent build, significant improvement! Thanks a lot ;) I'm a bit late (didn't have my tablet with stylus at hand yesterday to test the new build). But I can confirm that the linked APK (PR5149) works pretty well, even on my old Android 11. I've been digitizing, measuring, selecting, etc. for quite a while now. The most important things work really well, including the drawing-over-image functionalities (the only thing I've noticed here is that it takes a relatively long time to save the modified graphics). Apart from that, I have noticed the following problems:
|
@Paul-Losse , can you try these updated APKs (#5149 (comment)) to see if the freeze is gone? Thanks. |
@nirvn Much better but there is still a bit of a delay after tapping the tick when sketching over an existing photograph - around 4-5 secs. There is virtually no delay sketching over a blank canvas |
When will this version be released? Thanks |
@Paul-Losse , expect 3.3 by end of this coming month of May |
@nirvn That's great. The APK (PR5149) is working well for me and has solved all the stylus issues I was experiencing |
Describe the issue
After using the 'split' tool or 'fill ring' tool with a stylus QField then becomes unresponsive when tapping on the screen with a finger (cannot select feature) or panning the map with one finger
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
Once editing is complete, it is then possible to move the map or select a feature using a single finger
Observed behavior
After editing a polygon using a stylus, it is then not possible to select a feature by tapping on the screen using a finger or to pan the map using a single finger. Using two fingers works to pan the map. The stylus can still be used to pan the map and select features. Correct functionality can be restored (temporarily) by closing QField and then re-opening the project. Note that this is an intermittent problem. Often it is possible to do several edits before the problem re-occurs
Screenshots and GIFs
[If applicable, add screenshots and GIFs to help explain your problem.]
[Please also attach additional files if a specific project/dataset is useful to investigate the problem.]
Desktop (please complete the following information)
Mobile (please complete the following information)
Additional information
[If the problem happened with QFieldCloud, please add your username and project name.]
The text was updated successfully, but these errors were encountered: