Bug 280885 - Kate recently modified file name highlight doesn't work
Summary: Kate recently modified file name highlight doesn't work
Status: CLOSED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 16:01 UTC by Maxime Corteel
Modified: 2012-10-24 10:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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