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

Layer options pop-up doesn't stay open after a long press in Windows #5654

Open
chughes-lincoln opened this issue Sep 16, 2024 · 3 comments
Open
Labels
upstream Issue in an upstream library

Comments

@chughes-lincoln
Copy link

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:

  1. Open a project in QField on a Windows device
  2. Tap the icon with the menu icon in the top-left to open the Dashboard
  3. 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)
  4. 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

QFieldScreenRecording_v3.mp4

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
@nirvn
Copy link
Member

nirvn commented Sep 17, 2024

@chughes-lincoln , can you try double clicking instead and see if that works?

@m-kuhn
Copy link
Member

m-kuhn commented Sep 17, 2024

confirmed.
double clicking does nothing.
right click opens the dialog and keeps it open.

@chughes-lincoln
Copy link
Author

chughes-lincoln commented Sep 17, 2024

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.

@nirvn nirvn added the upstream Issue in an upstream library label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Issue in an upstream library
Projects
None yet
Development

No branches or pull requests

3 participants