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 618471 - tab spacing preferences do no persist
tab spacing preferences do no persist
Status: RESOLVED INCOMPLETE
Product: gedit
Classification: Applications
Component: general
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-12 16:50 UTC by Eric M
Modified: 2015-06-16 08:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric M 2010-05-12 16:50:39 UTC
I set the tab spaces to 2, and at random intervals it reverts back to 4. 

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gedit 2.30.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue May 11 22:27:02 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gedit
Comment 1 Ignacio Casal Quinteiro (nacho) 2010-05-12 16:54:08 UTC
are you using the modelines plugin?
Comment 2 Eric M 2010-05-12 17:28:45 UTC
Yes it was enabled. But disabling this plugin did not fix the issue. I just tried changing to 2, quit and re launched gedit and it was back to 4.
Comment 3 Ignacio Casal Quinteiro (nacho) 2010-05-12 17:31:11 UTC
did you change the tab spacing in the statusbar or in the preferences dialog?
Comment 4 Eric M 2010-05-12 18:29:38 UTC
Preference dialog. Then hit close.
Comment 5 Eric M 2010-05-20 21:35:34 UTC
I just fired up gedit again and both the auto indentation is set again and it's back to 4 spaces for the tab. Every couple minutes this 4 spaces is reset no matter which way above I set it to two spaces.
Comment 6 Eric M 2010-05-20 21:47:44 UTC
It's happening immediately when I Control-S Save the file or when I switch tabs. Hope this helps a bit.
Comment 7 Eric M 2010-05-20 22:18:29 UTC
I've just noticed the tab spacing switches immediately from 2 to 4 if I shift-arrow to select text.
Comment 8 Eric M 2010-05-29 03:02:03 UTC
I believe I found the issue. Digging through the source of the plugin call Smart Indent I found a setting for default tab spaces set to 4. Changing it to 2 seems to have corrected the issue. 

I am not sure why the tab spacing would not persist even when the plugin was disable however...
Comment 9 Sébastien Wilmet 2015-04-27 13:09:46 UTC
Can you still reproduce this bug with a recent version of gedit?
Comment 10 Sébastien Wilmet 2015-06-16 08:22:47 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!