changed settings not being saved

Hello all,

with the past few EAP releases I noticed that changing font+color settings are not being written to disk.  How to reproduce:

1) go to File->Settings->Editor->Colors and Fonts->Language Defaults.

2) Take the current scheme and "Save As" to another name.

3) Make a change to a setting in the new name scheme.

4) Notice that the change did have an impact in the current editor window.

5) Exit and restart Intellij.  Notice the change made has been lost.

6) Diff the .icls file produced by Intellij.   The file differ  by just the scheme name:

nrinydev$ diff alan.icls  alan2.icls
1c1
< <scheme name="alan" version="124" parent_scheme="Default">
---
> <scheme name="alan2" version="124" parent_scheme="Default">

Thanks!

-- Alan

PS I'm running on linux, JDK8_40, Build 141.177

11 comments
Comment actions Permalink

Does it help if you rename IDE folders and start with all the defaults? https://intellij-support.jetbrains.com/entries/23358108

Any errors in idea.log (https://intellij-support.jetbrains.com/entries/23352446)? Do you apply the changes in the dialog?

0
Comment actions Permalink

I had tried starting with a virgin install and had the same issue....that's when I got around to posting here.

I have to admit I just assumed this was some small oops that would be corrected  before release...

-- Alan

0
Comment actions Permalink

I'm sorry.   I see no errors anywhere when attempting the operation.

0
Comment actions Permalink

I just realised I missed another of your questions:   yes, I do apply the changes.

-- Alan

0
Comment actions Permalink

What specific changes do you make? Do you have an open project?

Can you make a screencast of the problem showing that the setting doesn't persist after IDE restart and attach idea.log?

Do you have Apply button enabled? See https://youtrack.jetbrains.com/issue/IDEA-138050 .

0
Comment actions Permalink

I happen to be changing the language defaults -> markup tag so that it doesn't change the background on XML tags.   I do have a project open and am editing an pom.xml file from maven.   I've tried just deselecting the background color box and also deselecting the background color and use "Default Text" setting.   The change takes effect in the current session but doesn't survive a restart.

I'm on a linux box, so there's no screencast abilities.  Yes, the apply button does become active and I do click it.


No errors or any mention of the setting change are in the log file.

-- Alan



-- Alan2015-03-24 13:08:17,935 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2015-03-24 13:08:17,967 [     32]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-141.177.4, 23 Mar 2015 00:00)
2015-03-24 13:08:17,967 [     32]   INFO -        #com.intellij.idea.Main - OS: Linux (3.11.10-11-default, amd64)
2015-03-24 13:08:17,967 [     32]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_40-b25 (Oracle Corporation)
2015-03-24 13:08:17,967 [     32]   INFO -        #com.intellij.idea.Main - JVM: 25.40-b25 (Java HotSpot(TM) 64-Bit Server VM)
2015-03-24 13:08:17,968 [     33]   INFO -        #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:/home/stange/work/idea/bin/../lib/boot.jar -Xmx2g -Xss320k -XX:ReservedCodeCacheSize=128m -da -Didea.no.jdk.check=true -XX:+UseNUMA -Xverify:none -XX:+TieredCompilation -XX:-UseParallelOldGC -XX:+UseG1GC -XX:-PrintGCDetails -XX:-PrintCompilation -Dawt.useSystemAAFontSettings=on -Dsun.java2d.xrender=True -XX:+UseAdaptiveSizePolicy -XX:-PrintGCApplicationStoppedTime -XX:+UseCompressedOops -XX:+UseStringDeduplication -verbose:gc -Xmx2g -Xss320k -XX:ReservedCodeCacheSize=128m -da -Didea.no.jdk.check=true -XX:+UseNUMA -Xverify:none -XX:+TieredCompilation -XX:-UseParallelOldGC -XX:+UseG1GC -XX:-PrintGCDetails -XX:-PrintCompilation -Dawt.useSystemAAFontSettings=on -Dsun.java2d.xrender=True -XX:+UseAdaptiveSizePolicy -XX:-PrintGCApplicationStoppedTime -XX:+UseCompressedOops -XX:+UseStringDeduplication -verbose:gc -Dhidpi=true -Djb.vmOptionsFile=/home/stange/idea/idea.vmoptions.client,/home/stange/work/idea/bin/idea64.vmoptions -XX:ErrorFile=/home/stange/java_error_in_IDEA_%p.log -Djb.restart.code=88 -Didea.paths.selector=IntelliJIdea14 -Didea.properties.file=/home/stange/idea/idea.properties
2015-03-24 13:08:17,983 [     48]   INFO -        #com.intellij.idea.Main - JNA library loaded (64-bit) in 15 ms
2015-03-24 13:08:18,878 [    943]   INFO - .intellij.idea.IdeaApplication - WM detected: Openbox
2015-03-24 13:08:19,954 [   2019]   INFO - llij.ide.plugins.PluginManager - 126 plugins initialized in 606 ms
2015-03-24 13:08:19,956 [   2021]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Application Servers View (0.2.0), Bytecode Viewer (0.1), CSS Support, CoffeeScript (2.0), Copyright (8.1), Coverage, DSM Analysis (1.0.0), Database Tools and SQL (1.0), Eclipse Integration (3.0), EditorConfig (1.0), Emma, FreeMarker support (1.0), GWT Support (1.0), Git Integration (8.1), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle, Groovy (9.0), HAML, HTML Tools (2.0), Hibernate Support (1.0), I18n for Java, IDEA CORE, IntelliLang (8.0), J2ME (1.0), JBoss Drools Support (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss jBPM (2.0.0), JUnit (1.0), Java Bytecode Decompiler (0.1), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction  (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages Integration (1.0), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), LESS support, Maven Integration, Maven Integration Extension, Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support, QuirksMode, REST Client, Refactor-X (2.01), Remote Hosts Access (0.1), SSH Remote Run (0.1), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (999.999), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer, UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML, ZKM-Unscramble (1.0)
2015-03-24 13:08:19,956 [   2021]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Gradle View (2.0.2), WicketForge (5.0.0.EAP-1)
2015-03-24 13:08:19,956 [   2021]   INFO - llij.ide.plugins.PluginManager - Disabled plugins: Android Support (10.1.1.0), Ant Support (1.0), AspectJ Support (1.2), CFML Support (3.53), CVS Integration (11), ClearCase Integration (2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), Cucumber for Groovy (999.999), Cucumber for Java (999.999), Flash/Flex Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), GitHub, Gradle GUI (1.7), Grails (9.0), GuiceyIDEA (8.0), Heroku integration (1.0), JBoss Integration (1.0), JSR45 Integration (1.0), OpenShift integration (1.0), Osmorc (1.4.6), Perforce Integration (2.0), Resin Integration (8.1), SASS support, Spring Roo Console (1.0), Subversion Integration (1.1), TFS Integration (999.999), WebLogic Integration (1.0), WebSphere Integration (1.0), dmServer Support (0.9.5), hg4idea (10.0)
2015-03-24 13:08:20,216 [   2281]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=2126512128
2015-03-24 13:08:20,253 [   2318]   INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /export/data/nrinfra/home/stange/work/idea-IU-141.177.4/bin/fsnotifier64
2015-03-24 13:08:20,259 [   2324]   INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2015-03-24 13:08:20,310 [   2375]   INFO - pi.util.registry.RegistryState - Registry values changed by user:
2015-03-24 13:08:20,310 [   2375]   INFO - pi.util.registry.RegistryState -   tabs.alphabetical = true
2015-03-24 13:08:20,712 [   2777]   INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2015-03-24 13:08:20,908 [   2973]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63343
2015-03-24 13:08:21,334 [   3399]   INFO -                  TestNG Runner - Create TestNG Template Configuration
2015-03-24 13:08:21,353 [   3418]   INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 193 ms
2015-03-24 13:08:21,353 [   3418]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2015-03-24 13:08:21,668 [   3733]   INFO - pl.stores.ApplicationStoreImpl - 93 application components initialized in 1691 ms
2015-03-24 13:08:21,670 [   3735]   INFO - .intellij.idea.IdeaApplication - App initialization took 5588 ms
2015-03-24 13:08:26,570 [   8635]   INFO -                  TestNG Runner - Create TestNG Template Configuration
2015-03-24 13:08:26,911 [   8976]   INFO - ellij.project.impl.ProjectImpl - 152 project components initialized in 588 ms
2015-03-24 13:08:27,167 [   9232]   INFO - le.impl.ModuleManagerComponent - 7 module(s) loaded in 256 ms
2015-03-24 13:08:27,343 [   9408]   WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2015-03-24 13:08:27,762 [   9827]   INFO - dialects.JSLanguageLevelPusher - Pushing ECMAScript 5.1
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/DOMTraversalAndRange.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/E4X.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/DOMXPath.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/DOMEvents.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/DHTML.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/DOMCore.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/AJAX.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/HTML5.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/EcmaScript5.js
jar:///export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/EcmaScript.js
2015-03-24 13:08:28,138 [  10203]   WARN - .ExternalResourceManagerExImpl - Cannot find standard resource. filename:/META-INF/tapestry_5_0_0.xsd class=class com.intellij.javaee.ResourceRegistrarImpl, classLoader:null
2015-03-24 13:08:28,791 [  10856]   INFO - tartup.impl.StartupManagerImpl - /home/stange/git/extRentec/.idea/misc.xml case-sensitivity: true
2015-03-24 13:08:28,895 [  10960]   WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID:  Gradle View) or icon jar:file:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/icons.jar!/general/add.png
2015-03-24 13:08:29,677 [  11742]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 1701 ms
2015-03-24 13:08:29,990 [  12055]   INFO - ution.rmi.RemoteProcessSupport - /export/local/products/java/jdk1.8.0_40/jre/bin/java -Djava.awt.headless=true -Didea.version==14.1 -Xmx512m -Dfile.encoding=UTF-8 -classpath /export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/resources_en.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/picocontainer.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/log4j.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/trove4j.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/jna-utils.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/util.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/jna.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/annotations.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/jdom.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/lib/oromatcher.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/lucene-core-2.4.1.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven-server-api.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-impl.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/activation-1.1.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/archetype-common-2.0-alpha-4-SNAPSHOT.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/commons-beanutils.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/jaxb-api.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/jaxb-impl.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/maven-dependency-tree-1.2.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/mercury-artifact-1.0-alpha-6.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/nexus-indexer-1.2.3.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2-server-lib/plexus-utils-1.5.5.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2/lib/maven-2.2.1-uber.jar:/export/data/nrinfra/home/stange/work/idea-IU-141.177.4/plugins/maven/lib/maven2/boot/classworlds-1.1.jar org.jetbrains.idea.maven.server.RemoteMavenServer
2015-03-24 13:08:30,102 [  12167]   INFO - ution.rmi.RemoteProcessSupport - Port/ID: 9851/Maven2ServerImpl94cdcb12
2015-03-24 13:08:30,972 [  13037]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 4666 ms
2015-03-24 13:08:31,237 [  13302]   INFO - CompilerWorkspaceConfiguration - Available processors: 12
2015-03-24 13:08:52,840 [  34905]   INFO - ellij.concurrency.JobScheduler - 50 ms execution limit failed for: com.intellij.openapi.progress.impl.CoreProgressManager$1@16f98389; elapsed time was 57ms
2015-03-24 13:12:18,472 [ 240537]   INFO - Types.impl.FileTypeManagerImpl - FileTypeManager: 0 auto-detected files
Elapsed time on auto-detect: 0 ms                                                                                                                                                                                                                                 
2015-03-24 13:12:18,476 [ 240541]   INFO - org.jetbrains.io.BuiltInServer - web server stopped                                                                                                                                                                    
2015-03-24 13:12:18,483 [ 240548]   INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN                                                                                                                                                                  
2015-03-24 13:12:18,496 [ 240561]   INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN                                                                                                                                                                    
2015-03-24 13:12:18,496 [ 240561]   INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN                                                                                                                                               
2015-03-24 13:12:18,496 [ 240561]   INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN                                                                                                                                                 
2015-03-24 13:12:18,557 [ 240622]   WARN - api.vfs.impl.local.FileWatcher - Watcher terminated with exit code 0                                                                                                                                                   
2015-03-24 13:12:18,557 [ 240622]   INFO - newvfs.persistent.PersistentFS - VFS dispose started                                                                                                                                                                   
2015-03-24 13:12:18,562 [ 240627]   INFO - newvfs.persistent.PersistentFS - VFS dispose completed                                                                                                                                                                 
2015-03-24 13:12:18,564 [ 240629]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------                                                           

0
Comment actions Permalink

Thanks, the issue seems to be specific to Language Defaults, we have it logged at https://youtrack.jetbrains.com/issue/IDEA-137266 .

0
Comment actions Permalink

I've had this problem for several EAP releases. This setting does not get saved:

Editor > Color Scheme > General > Scheme

I have to update the setting every time I restart PyCharm.

0
Comment actions Permalink

Hi.

Could you please raise a ticket at https://youtrack.jetbrains.com/issues with a log file attached.

0
Comment actions Permalink

Some issue in 2018.3.4 of Webstorm. This is getting annoying so quickly. Never had this issue before. Also while changing the color scheme. I even started using another ide because I wasn't able to fix it.

0
Comment actions Permalink

Please provide steps to recreaate the issue plus your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files). Please don't paste log here, upload it to some file server and provide a link

0

Please sign in to leave a comment.