If we open and close the same file multiple times, then the same entrie appear multiple times. I've tried this with Kate, KWrite and Kile, using KDE for Windows 4.8, under Windows 7 Pro 64bits. Using the precompiled binaries for MingW64. Reproducible: Always Steps to Reproduce: 1. Launch KWrite 2. Open a file 3. Close open file 4. Repeat opening and closing the same file multiple times Actual Results: One entry is added for each time the file is opened. Expected Results: Only one entry should be added if the same file is open multiple times. The same occur with Kate and Kile (in the recent projects). I've tried debugging and it appear that in KRecentFilesAction::addUrl when checking for existing entries the check use the file's path with backward slashes, but they are stored with forward slashes.
the current 4.10.2-1 package of kdelibs fixes this bug.
Git commit b45075cae78b6d899e23f09133bbfb95d5a8bb7a by Patrick Spendrin. Committed on 10/05/2013 at 22:25. Pushed by sengels into branch 'KDE/4.10'. do not add files have been added already. M +5 -0 kdeui/actions/krecentfilesaction.cpp http://commits.kde.org/kdelibs/b45075cae78b6d899e23f09133bbfb95d5a8bb7a