The issue persists in 22.04. Not sure if it should be fixed in upstream: https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/121.
However at least gedit behavior in Ubuntu 22.04 is better than in 21.10 (maybe fixed in new Gnome Shell 42.0). Let's say you have a JSON file, not prettified, 1.9 MB size, whole content on one line. If you open the file in gedit, then: 21.10: gedit freezes (CPU 100% forever) and if you right click to app icon to dock, mouse and keyboard stops working and OS becomes unresponsive - you need to restart OS 22.04: gedit freezes (CPU 100% forever), but no OS freezing on right click in dock -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/505765 Title: gedit problem with long lines Status in gedit: Fix Released Status in GtkSourceView: Unknown Status in gedit package in Ubuntu: Won't Fix Status in gtksourceview package in Ubuntu: New Bug description: Binary package hint: gedit Hi, I was editing a text file when the cursor began to behave strangely. The file contained these lines: CREATE TABLE people( integer primary key, name varchar(50), age integer ) When I put the cursor after the 'l' in 'people', the arrow key would not move the cursor to the right. Instead it jumped to the next line. Similarly, I could not add text at this position. Viewing the file in a hex editor revealed a lot of spaces (284 to be accurate) after the opening parenthesis. Probably I've added those spaces without knowing it (resting my book "beginning Ruby" on the space bar ^ ^). Still, I feel the editor should handle a few hundred chars on a line without misbehaviour. I attached a copy of the text file. Thanks for developing and maintaining this simple but useful editor! Tor ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 9.04 ExecutablePath: /usr/bin/gedit Package: gedit 2.26.1-0ubuntu1 ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gedit Tags: ubuntu-unr Uname: Linux 2.6.28-17-generic i686 To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/505765/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp