Bug 280885

Summary: Kate recently modified file name highlight doesn't work
Product: [Applications] kate Reporter: Maxime Corteel <mcorteel>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: CLOSED FIXED    
Severity: normal CC: jowenn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Maxime Corteel 2011-08-27 16:01:47 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

In the tree view, recently modified files don't have a highlighted background.

Reproducible: Always

Steps to Reproduce:
Open multiple files, click on some of them in the tree view, they are highlighted as "recently displayed". Now modify one of them (and save it), when you click on another file.

Actual Results:  
The file is not highlighted as "recently modified" as it should be

Expected Results:  
It should be highlighted with the "recently modified" color

I tried changing the settings for the tree view in the configuration but nothing works.
Comment 1 Joseph Wenninger 2012-10-24 10:52:01 UTC
Git commit 08db79bdc4d8720ab362ec739d58b821b48e436f by Joseph Wenninger.
Committed on 24/10/2012 at 12:49.
Pushed by jowenn into branch 'master'.

Fix for #280885. If a document saved, a name change is triggered. Don't remove the representing item from the view and edit histories, but replace it with the new item, therefore the highlighting is kept now

M  +13   -4    kate/plugins/filetree/katefiletreemodel.cpp

http://commits.kde.org/kate/08db79bdc4d8720ab362ec739d58b821b48e436f