[Windows] doubleClicked and pressAndHold haptics arent present
What is the bug or the crash? What were your expectations and what actually happened?
In the Windows QField.exe, only click actions register. doubleClick or pointAndHold with the mouse have no effect.
Steps to reproduce the issue
- Create and sync a simple project with a single point layer and no project plugin
- In QField, press and hold on a point. The Feature Drawer (click action) will open, rather than the drop down menu with coordinates, bookmarks etc.
- If you test a project with a plugin that has a point handler, such as the demo2_searchbar project in http://github.com/HeatherHillers/qfield_vegetation_monitoring, then you can change the pointHandler (ex. in demo2_searchbar.qml) to activate on pointAndHold rather than doubleClicked. you can see that pointAndHold also does not trigger in the Windows version.
ios version is working fine, of course. Tested productive release Gwaii and also a recent PR artifact from master.
Version
QField.exe 3.7.9 (productive release) and recent master artifact PR6849 - Dev (50aa605)
Operating system name
Windows
Operating system version
11
Reinstall QField
- [x] I have a fresh install of the latest QField version, but the problem persists.
- [x] Problem can be reliably reproduced, doesn't happen randomly.
- [x] Problem happens with all files and projects, not only some files or projects.
Additional context
No response
@HeatherHillers , have you tried with QField 4.0.1?
Hi @nirvn, Yes. I tested 4.0.1 Windows this morning with a simple project with no plugin. In windows 4.0.1, press and hold on a point feature doesn't open the context menu. Double click is a bit harder to see without a plugin testing it, but on ios if you double tap a featue, it will not open the feature drawer and does this tiny jump zoom instead. That indicates that a doubleclick was registered, but qfield doesnt care about it. If you double click on windows the feature drawer is opened, indicating that the double click hasn't been recieved. (My ios qfield is still 3.7.8, but since ios has the correct behaviour it is hopefully irrelevant)