When the document is updated, kate's symbol list viewer plugin flickers and doesn't indicate the current location unless the cursor position is changed. Reproducible: Always Steps to Reproduce: 1. Enable symbol list viewer 2. Open/create file with some content that will populate symbol list viewer 3. Make changes to the document and note symbol list flickering 4. This is especially distracting in tree view Actual Results: Symbol list flickers in a very distracting manner and doesn't correctly indicated the current cursor position unless it is changed. Expected Results: Symbol list should not flicker and always indicate the current cursor position.
Created attachment 81687 [details] Proposed patch
I have attached a patch that fixes the issue by calling updateCurrTreeItem() at the end of slotRefreshSymbol() and there is a link to youtube demonstrating the flickering in the details.
Git commit dd46408f052b0324619b12366d836edcacc8299c by Dominik Haumann. Committed on 13/08/2013 at 08:06. Pushed by dhaumann into branch 'master'. fix flickering in symbol viewer Thanks to John for the patch! FIXED-IN: 4.11.1 M +1 -0 addons/kate/symbolviewer/plugin_katesymbolviewer.cpp http://commits.kde.org/kate/dd46408f052b0324619b12366d836edcacc8299c
Git commit a8f38166c8ab5d7974a497b05f858cc0c17620ba by Dominik Haumann. Committed on 13/08/2013 at 08:06. Pushed by dhaumann into branch 'KDE/4.11'. fix flickering in symbol viewer Thanks to John for the patch! FIXED-IN: 4.11.1 M +1 -0 addons/kate/symbolviewer/plugin_katesymbolviewer.cpp http://commits.kde.org/kate/a8f38166c8ab5d7974a497b05f858cc0c17620ba