Bug 407124 - Projects Shows DUPLICATE entries for every file
Summary: Projects Shows DUPLICATE entries for every file
Status: RESOLVED DUPLICATE of bug 398240
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 18.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-01 12:51 UTC by James Swift
Modified: 2019-05-21 21:18 UTC (History)
0 users

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


Attachments
Screenshot (33.32 KB, image/png)
2019-05-01 12:51 UTC, James Swift
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Swift 2019-05-01 12:51:48 UTC
Created attachment 119765 [details]
Screenshot

When I open a file from a git project, the projects tab displays two entries for each file in the project root. Directories are only shown once, and sub-folders don't display duplicate files.


STEPS TO REPRODUCE
1. Open a file in kate from a git project
2. Open the Projects tab


OBSERVED RESULT
Duplicate file entries

EXPECTED RESULT
One entry per file

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.0-13-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-2400 CPU @ 3.10GHz
Memory: 7.6 GiB of RAM
Comment 1 James Swift 2019-05-01 13:05:02 UTC
Correction, sub-directories are also affected by this bug.
Comment 2 James Swift 2019-05-01 14:00:36 UTC
This also affects the find and replace tool, which duplicates results. I haven't tried doing an actual replace, as it may result in SERIOUS issues to my code if it attempt to overwrite the file twice.
Comment 3 Dominik Haumann 2019-05-02 07:33:50 UTC
This is fixed in 19.04: https://phabricator.kde.org/D20343

Do you use git submodules?

*** This bug has been marked as a duplicate of bug 398240 ***
Comment 4 James Swift 2019-05-02 08:08:52 UTC
I do use submodules. I'm on kubuntu 19.04
Comment 5 Dominik Haumann 2019-05-02 10:32:01 UTC
Ok, good :)
Comment 6 James Swift 2019-05-02 11:38:22 UTC
Thank you for your work in addressing this bug report. Please forgive my confusion, but if the bug was fixed in 19.04, why am I still experiencing this issue?
Comment 7 Christoph Feck 2019-05-21 21:18:21 UTC
It is fixed in Kate 19.04, not Kubuntu 19.04. You could ask in a forum of your distribution how to add backport PPAs to get the newest Kate versions.