After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671975 - Cursor location jumps around when saving
Cursor location jumps around when saving
Status: RESOLVED FIXED
Product: gedit-latex
Classification: Core
Component: General
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: José Aliste
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-13 11:46 UTC by John Stowers
Modified: 2019-02-22 03:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Stowers 2012-03-13 11:46:14 UTC
Gedit 3.3.7

When editing a .tex file with the latex plugin enabled, each time the file is saved (and hence re-parsed) the location of the cursor moves to a random place near the end of the file, and sometimes text is selected.

To recreate

1) gedit -s test/article.tex
2) type \cite{dijkstra76}
3) hit enter

--> cursor location in file changes.
Comment 1 René 2012-05-03 17:33:04 UTC
Confirmed, multiple users are affected according to launchpad:
https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/990949
A fix has been proposed there, too.
Comment 3 jkeiren 2012-05-15 06:45:57 UTC
(In reply to comment #2)

This indeed fixes the issue for me.
Comment 4 Ignacio Casal Quinteiro (nacho) 2012-07-15 10:16:58 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 5 richard.mathie 2012-07-26 22:13:04 UTC
This Problem Is not fixed, I tried applying the patch, I have also tried with the full development version, checked out using git.

The problem remains, only now you have to click on a section in the outline window to trigger the courser movement on the next save, instead of it occurring from the onset with the latex plug-in enabled.
Comment 6 René 2012-08-11 08:47:48 UTC
Confirmed, the bug is _not_ fixed. See: https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/990949
Workaround: disable "Follow editor"