Practices: caret sometimes disappears at low resolution

Abierto
#1,461 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
godot
Área
frontend

Línea de trabajo

Reproduce the caret disappearing while editing code in Opera GX or Edge on Windows, using the attached video and the reported typing and clicking behavior as a guide. Then trace the editor component and its caret rendering or positioning code; the issue does not name a file or test. Done when the caret stays visible during typing, clicking, and arrow key navigation in the affected browsers.

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

Descripción

https://github.com/user-attachments/assets/ee087e47-93d7-4a29-910b-9e5e44fdda31

hi there! i just wanted to suggest something: when coding, i cant help but notice that sometimes while writing code the "text cursor"/"Caret" (that line that lets you know where youre standing) dissapears. If you move around the code with the arrow keys it may appear, but still its a little annoying, and ive come to notice it specially disappears when you enter a parenthesis. Its a minor issue, but would be nice to be able to see it all the time!

...

I took a little video where I show what happens (at least on my device lol, i'm currently using OperaGx Browser if anything).
As you can see, it sometimes randomly disappears when i try to click on random parts of the code. While recording i also noticed that it disappears when writing the fifth character of text (numbers or letters).
So, when i wrote 1,2,3,4 it seems to work perfectly, but as soon as the 5 comes in, it disappears. (even tho, you can still move around with the arrow keys, thats what i tried to show you in the video, how despite not being able to see the thing, i could move around the code freely and after i wrote a 6th character, the "Caret" reappeared, in the case of the video it was a blank space).

I also tried it briefly on another browser (Edge), it does not follow the same rule as Operagx and after 5 symbols it still works, BUT still after several characters it disappears, the pattern in Edge is even weirder... no idea what could cause this.

Lenguaje dominante
GDScript
Estrellas
2.8k
Forks
239
Métricas de merge de PR
Sin PR fusionados en 30 d

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 GDQuest/learn-gdscript

Todos los issues de GDQuest/learn-gdscript

Issues similares

Más issues de Web Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.