Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

SpriteGestureController do not process correct coordinate

Abierto
#1,805 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
android, kotlin

Línea de trabajo

Start with moveSprite in SpriteGestureController and the RotationActivity screen that hosts it, then compare how the touch coordinates are mapped against the view size. The issue says a SurfaceView's black letterbox bars make those two values disagree when the video ratio differs from the screen ratio. Done means a sprite that has been shrunk and moved to a corner can be selected again by touch. The issue has no comments, no assignee and no linked pull request, so ask the maintainer before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Describe the bug
In RotationActivity, when trying to move gif or text, the touch event is not correct.

To Reproduce

  1. Select GIF or text filter.
  2. To see the wrong result clearly, first rotate phone to horizon, then use 2 fingers to make the target (gif or text) smaller.
  3. Try to move the target away from the center to the edge (e.g. left down corner).
  4. Then try to select the target to move again. You will find it is hard to select it.

Additional context
Function moveSprite calculating target coordinate with size of View and coordinate of MotionEvent in touch event.
Since SurfaceView has black part when the video ratio is not equal with the screen ratio,
the size of View and coordinate of MotionEvent do not provide correct value.

Lenguaje dominante
Kotlin
Estrellas
3k
Forks
946
Merge medio
5 d 1 h
PR fusionados (30 d)
6

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pedroSG94/RootEncoder

Todos los issues de pedroSG94/RootEncoder

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.