[SE 5.4.0] Sinhala Unicode text selection and rendering issue in the main TextBox
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- csharp
- Ambito
- desktop, internationalization
Direzione di ricerca
The payload names no source files, so start by finding the main subtitle TextBox in the Avalonia UI project and reproducing the problem with the Sinhala sample line from the issue. Work out whether the wrong selection comes from Subtitle Edit's own handling of the text or from Avalonia's text layout at the pinned version. Done means mouse selection and the caret land on grapheme-cluster boundaries that match the rendered Sinhala glyphs, and this is confirmed on Windows 11.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description of the issue
When typing or editing Sinhala Unicode text (especially mixed with English words) in the main subtitle TextBox in Subtitle Edit 5.4.0 (Avalonia UI), two issues occur:
- Text Selection / Cursor Hit-Testing Bug: When trying to select a Sinhala word or character using the mouse (click and drag), the selection highlights the wrong characters or offsets incorrectly. Because of this, it is very difficult to edit a single letter or vowel sign (diacritic) inside a Sinhala word without deleting the entire word.
- Ligature / Diacritic Overlap: When English and Sinhala text appear together in the same line, some Sinhala conjunct letters and diacritics overlap visually in the TextBox (though they render fine in video players).
Steps to reproduce
- Open Subtitle Edit 5.4.0 on Windows 11.
- Type a line containing mixed English and Sinhala text (e.g.,
icu මක්ෂේත්රක් නවෙයෙ, සර්.). - Try to select a specific Sinhala word or a single character inside a word using the mouse cursor.
Expected behavior
The mouse cursor and text selection should accurately match the visual position of Sinhala characters and allow selecting individual letters/words properly, similar to how it worked in Subtitle Edit 4.0.15 (WinForms).
System Information
- Subtitle Edit version: 5.4.0 (Avalonia 12.1.5)
- OS: Windows 11
- Language: Sinhala (si-LK)
- Lingua principale
- C#
- Stelle
- 15.1k
- Fork
- 1.4k
- Merge medio
- 1h 58m
- PR unite (30g)
- 564
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SubtitleEdit/subtitleedit
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
SubtitleEdit/subtitleedit#17247 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
SubtitleEdit/subtitleedit#16699 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
SubtitleEdit/subtitleedit#16374 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
SubtitleEdit/subtitleedit#14510 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 44/100
SubtitleEdit/subtitleedit#17244 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SubtitleEdit/subtitleedit
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Restore test cleanup fails on Windows when restored files are read-onlyForse già presa @JamBalaya56562 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
duplicati/duplicati#8046 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Bundles Documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pyrevitlabs/pyRevit#4285 ·
I maintainer di solito rispondono entro 1 giorno
-
customer-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni