Practices: caret sometimes disappears at low resolution

オープン
#1,461 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
godot
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
GDScript
スター
2.8k
フォーク
239
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GDQuest/learn-gdscript のほかの issue

GDQuest/learn-gdscript の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。