eclipse-platform / eclipse-platform/eclipse.platform
With very large documents the embedded search freezes the UI
- Lingua principale
- Java
- Stelle
- 165
- Fork
- 174
- Merge medio
- 2g 8h
- PR unite (30g)
- 22
Descrizione
If one edits large test documents ( > 150 MB) this works quite nice in Eclipse except if one uses the embedded search control.
The problem is that when one enter a character that is contained in the document it tires to highlight matches, this then could take very long and freezes the UI in the meanwhile.
I'm not sure what is slow, the search itself or the highlight of the results, but one idea would be to only perform the highlight for the portions of the document that is currently visible (+/- a few lines) and update only when the document is scrolled.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non sono identificati file, test o punti di ingresso. Inizia individuando il controllo di ricerca incorporato e riproducendo il blocco con un documento di oltre 150 MB mentre digiti un carattere corrispondente. Il lavoro è completato quando la ricerca e l’evidenziazione non bloccano più l’UI per i documenti di grandi dimensioni, anche durante lo scorrimento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- desktop-dev, performance
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100