Bug 359207

Summary: symbol list get refreshed to initial status when close Configure Kate by clicking OK button
Product: [Applications] kate Reporter: Chenxiong Qi <qcxhome>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kare.sars
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Chenxiong Qi 2016-02-10 03:32:36 UTC
I'm used to enable "List/Tree Mode" and "Enable Sorting" to find symbols much quickly. Each time when I close dialog "Configure - Kate" by clicking OK button, the symbol list get refreshed and the symbols go back the initial status just like the first time to enable symbol list plugin.

Reproducible: Always

Steps to Reproduce:
1. Enable symbol list plugin
2. Open a source code file, such as a Python module /usr/lib64/python2.7/xmlrpclib.py
3. Go go symbol list, and enable "List/Tree Mode" and "Enable Sorting"
4. Open "Configure - Kate" dialog again, make some changes, or do nothing
5. Close the dialog by clicking OK button

Actual Results:  
See the symbol list, an ordered symbol list in Tree Mode get refreshed back to the initial status (I guess it should be in List Mode).

Expected Results:  
Do not refresh the symbol list, or, at least, keep the configuration of "List/Tree Mode" and "Enable Sorting" unchanged.
Comment 1 Kåre Särs 2016-02-10 07:07:30 UTC
Thanks for the report.

What about setting the options in the "Configure - Kate" dialog? if you set them there you do not have to change the setting all the time. When closing the "Configure -Kate" dialog we assume that you want the settings specified in "Application -> Symbol Viewer".
Comment 2 Chenxiong Qi 2016-02-10 07:33:07 UTC
Got it. I think it makes sense to me. And I also noticed that there are several options in Symbol Viewer, after trying them, they works well for me. Thanks for your quick response. :) This bug can be closed.