laggy performance, and heavy CPU usage when opening certain files
System information
What is your operating system and version? (e.g. "Linux, Fedora 36" or "macOS 10.15.3")
Fedora 38
What is the version of GNOME Text Editor? (e.g. "42.0-1.fc36.x86_64" or "commit 14e494")
gnome-text-editor-44.0-1.fc38.x86_64
If the bug caused data loss, where was the file located? _(e.g. "Home directory" or "on a USB stick" or "in a directory symlinked from my Home directory")
Text Editor (44.0)
GLib: 2.76.2 (2.76.0)
GTK: 4.10.3 (4.10.1)
GtkSourceView: 5.8.0 (5.7.2)
Libadwaita: 1.3.2 (1.3.1)
Enchant2: 2.3.4
gtk-theme-name: Adwaita-empty
GTK_THEME: unset
GdkDisplay: GdkWaylandDisplay
Documents Directory: /home/chris/Documents
org.gnome.TextEditor restore-session = true
org.gnome.TextEditor recolor-window = true
org.gnome.TextEditor show-map = false
org.gnome.TextEditor custom-font = 'Monospace 11'
org.gnome.TextEditor show-line-numbers = false
org.gnome.TextEditor style-scheme = 'Adwaita'
org.gnome.TextEditor wrap-text = true
org.gnome.TextEditor style-variant = 'follow'
org.gnome.TextEditor indent-style = 'tab'
org.gnome.TextEditor show-right-margin = false
org.gnome.TextEditor spellcheck = true
org.gnome.TextEditor auto-indent = true
org.gnome.TextEditor use-system-font = true
org.gnome.TextEditor keybindings = 'default'
org.gnome.TextEditor highlight-current-line = false
org.gnome.TextEditor last-save-directory = 'file:///home/chris/Aviation/PIM%20POH%20AFM' [default='']
org.gnome.TextEditor auto-save-delay = uint32 60 [default=uint32 3]
org.gnome.TextEditor discover-settings = true
org.gnome.TextEditor enable-snippets = false
org.gnome.TextEditor line-height = 1.2
org.gnome.TextEditor indent-width = -1
org.gnome.TextEditor show-grid = false
org.gnome.TextEditor draw-spaces = @as []
org.gnome.TextEditor right-margin-position = uint32 80
org.gnome.TextEditor tab-width = uint32 8
Have you tested Nightly to see if the issue has been fixed? If not, why?
Bug information
Steps to reproduce
- Open Client-2023-05-11-225910.ips Note that Feature Requests should first be filed at Teams/Design/Whiteboards to start the design process.
Current behaviour
Scroll is sufficiently sluggish that the app is non-functional. Search is likewise adversely impacted. Process consumes excessive CPU, and persists (so far > 20 minutes).
10278 chris 20 0 2168484 164876 86508 R 106.7 1.0 1:05.84 gnome-text-edit
Is there any error information in the system journal?
No.
Expected behaviour
What did you expect to see instead?
Well I expect to be able to scroll and search within a couple seconds of opening a text file. It's not very big but there's something about it that's really confusing text editor.