Layer options pop-up doesn't stay open after a long press in Windows
Describe the issue
The pop-up from a long-press to see layer options disappears when the user stops pressing on Windows
Reproduction steps
Steps to reproduce the behavior:
- Open a project in QField on a Windows device
- Tap the icon with the menu icon in the top-left to open the Dashboard
- Long-Press over a layer until pop-up for layer options appears (using a finger, may also occur with a stylus but don't have one to verify)
- Stop long-pressing and the pop-up will disappear before you can do anything with it
Add a simple sample project if it requires a specific configuration
Expected behavior
After releasing the long-press, the pop-up stays so that you can interact with it
Observed behavior
The pop-up immediately disappears
Screenshots and GIFs
https://github.com/user-attachments/assets/214a4ca6-6fb3-4ed7-9ae5-3112fb5716bf
QGIS (please complete the following information)
- OS: Windows 11
- QGIS Version: 3.38.2
- QFieldSync Version: N/A
QField (please complete the following information)
- Device: Dell Latitude 7440; also replicated on a Dell Precision 5570
- OS: Windows 10, replicated on Windows 11 as well
- QField version: 3.4.0 (c28cef7)
Additional information
- Problem started happening recently, didn't happen in an older version of QField: Yes - It was fine on 2.8.1; first noticed it on 3.0.6; still an issue on 3.4.0; switched back to 2.8.1 and the problem went away
- Problem can be reliably reproduced, doesn't happen randomly: Yes
- Problem happens with all files and projects, not only some files or projects: Yes
- I haven’t noticed any issues with right clicking to get the pop-up
- If you time it just right, and release the long-press right before the pop-up appears, the pop-up doesn’t disappear
- Also happens with Search bar settings; Long-press in map, dashboard icon, and positioning icon seem to work just fine
@chughes-lincoln , can you try double clicking instead and see if that works?
confirmed. double clicking does nothing. right click opens the dialog and keeps it open.
For me double clicking did open the layer properties. Though double clicking isn't working for other situations where a long-press is useful (like the search bar settings, the dashboard settings, and the positioning settings).
Another interesting note - Clicking and holding does open the layer properties and keeps it open, tapping and holding does not.
@chughes-lincoln , I believe this is fixed in QField 3.5 (or at least I can confirm it being fixed via wine) -- could you let us know? Thanks
I'm still seeing the same behavior in 3.5.2. Long pressing opens the layer options, then the layer options disappear when you release your finger. Double tapping still works, and it also works if you time it just right and release your finger right before the popup appears.
One thing that has changed is that long pressing to access the search bar settings now works, I think because the search bar settings has an X you need to tap to exit, whereas the layer options disappear if you tap again.
https://github.com/user-attachments/assets/260e8a64-b5a0-4bcf-9d77-be188b5057af
The QField project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.
I still think this is an issue (see my previous comment), though with the ability to tap the eye icon to turn layers on or off, and double tap to open the layer properties, I don't think it's as much of a problem as when I submitted it. Though it can be a bit confusing if the user doesn't know whether to double tap or tap and hold.