https://bugs.kde.org/show_bug.cgi?id=386648

            Bug ID: 386648
           Summary: [v5.2.0]: project manager doesn't always reload
                    emptied directories
           Product: kdevplatform
           Version: unspecified
          Platform: Compiled Sources
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: project
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

Created attachment 108745
  --> https://bugs.kde.org/attachment.cgi?id=108745&action=edit
fix

I've been noticing an issue that appears to express itself more easily with
directories called "devel" than others (but that ought to be just an artefact):

For a tree structure loaded in a KDevelop project, do

> touch /path/to/project/a/b/files/devel/aaa

An item `a/b/files/devel/aaa` will show up in the project tree

Now do

> rm /path/to/project/a/b/files/devel/aaa

The item will disappear but only if it isn't the last item in the directory.

This glitch is fixed when I remove 3 old (7y) lines from AFMPP::addJobItems();
see the attached patch. Seems rather self-evident: that function should not
return without having removed stale/obsolete entries from the directory if no
other function takes care of that housekeeping.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to