eclipse-platform / eclipse-platform/eclipse.platform
With very large documents the embedded search freezes the UI
- Vorherrschende Sprache
- Java
- Sterne
- 165
- Forks
- 174
- Ø Merge
- 2 T. 8 Std.
- Gemergte PRs (30 T.)
- 22
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Es sind keine Dateien, Tests oder Einstiegspunkte angegeben. Beginne damit, das eingebettete Suchsteuerelement zu finden und das Einfrieren mit einem Dokument über 150 MB zu reproduzieren, während du ein passendes Zeichen eingibst. Die Aufgabe ist abgeschlossen, wenn das Suchen und Hervorheben bei großen Dokumenten die UI nicht mehr einfriert, auch während des Scrollens.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- desktop-dev, performance
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100