Tapping button while screen is touched may drop button event
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp
- Área
- embedded-iot
Línea de trabajo
Empieza en src/systemtask/SystemTask.cpp, en la configuración pinConfig.hi_accuracy alrededor de la línea 155, y después lee la documentación vinculada sobre interrupciones GPIOTE del nRF5 SDK. Reproduce el problema manteniendo pulsada la pantalla y tocando el botón lateral, y compara las configuraciones de interrupción teniendo en cuenta el compromiso documentado entre ellas y el consumo de energía. Se considera terminado cuando los eventos del botón no se pierden ni quedan registrados como pulsados de forma espuria, sin un impacto inaceptable en el consumo de energía.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Verification
- I searched for similar bug reports (including closed issues) and found none was relevant.
What happened?
Tapping the side button while the screen is touched may drop button toggle events.
What should happen instead?
Tapping the side button while the screen is touched does not drop any events.
Reproduction steps
- Open any app (not necessary but useful for demonstration)
- Hold touch on the screen
- Tap the side button
Possible outcomes:
- The screen goes back to the apps list. This is when the bug fails to trigger. Try again.
- The button press does not go through.
- The screen goes directly to the watch face. At this point you can release the screen touch and wait. It will further go to the watch info page, as though the button was still pressed.
Reproducing this bug should take around 5-10 tries, it's not extremely rare.
More details?
In the third outcome listed where there is still a phantom held button press, the watch will not reset like it normally does if the button is held for a very long time.
I believe the bug is caused by the interrupt mode used for the screen and button. The low accuracy mode used cannot handle more than one active pin at a time (source). Changing the interrupts to use high accuracy mode by changing pinConfig.hi_accuracy on line 155 of src/systemtask/SystemTask.cpp to true does indeed seem to fix this issue, but mark9084 in the Pine64 discord informed me that this could increase power draw by 60uA if the high frequency clock is not already running (they provided this link to relevant documentation) so this may not be a desirable fix.
Version
e03414c
Companion app
No response
- Lenguaje dominante
- C
- Estrellas
- 3.4k
- Forks
- 1.1k
- Merge medio
- 23 h 18 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de InfiniTimeOrg/InfiniTime
-
BLE handlers use length fields from the packet without checking how much data arrivedPosiblemente ocupada @DustinHab la tomó hace 37 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
InfiniTimeOrg/InfiniTime#2485 ·
-
Unexpected jump back to watch face when button pressedPosiblemente ocupada @SteveAmor la tomó hace 80 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 50/100
InfiniTimeOrg/InfiniTime#2461 · 2 comentarios ·
-
Screen doesn't go to sleep after reset countdown appPosiblemente ocupada @SteveAmor la tomó hace 78 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
InfiniTimeOrg/InfiniTime#2419 · 4 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
InfiniTimeOrg/InfiniTime#2410 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
InfiniTimeOrg/InfiniTime#2407 · 4 comentarios ·
Todos los issues de InfiniTimeOrg/InfiniTime
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
FujiNetWIFI/fujinet-firmware#2079 ·
Los mantenedores suelen responder en 1 día
-
bug Official Image release/25.12 Supported Device target/kirkwood
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
area/archive bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
DarkFlippers/qUnleashed#374 ·
Los mantenedores suelen responder en 1 día
-
Missing options in yara man pageAbiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
VirusTotal/yara#2255 ·
-
Add SupportsTransactions flagAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100