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

            Bug ID: 387866
           Summary: KDevelop generates wrong project view tree when
                    symbolic links are linked inside the project root.
           Product: kdevelop
           Version: 5.2.1
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: UI: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: vbs...@centrum.cz
  Target Milestone: ---

KDevelop generates wrong project view tree when symbolic links are linked
inside the project root.

* How to reproduce: *
1. Open attached SampleSymlinkProject5/SampleSymlinkProject CMake project.
2. Let KDevelop parse it and then build it.
3. Browse the "project tool view"
4. Search for the location of the LibBar in the tree.

Actual result:
The "LibBar" is shown only as parrent of the "SomewhereInsideProjectRoot".

Expected behavior:
The LibBar should follow the buildsystem and should be shown as parent of the
project root folder.
Opinion: Also the LibBar should match the filesystem, so it should be shown
twice, first as parent "SomewhereInsideProjectRoot/LibBar", second as parent of
the project root folder "LibBar".

Observation:

As I am reporter of another symbolic links related bug
https://bugs.kde.org/show_bug.cgi?id=387391 I observed that if the symbolic
link is pointing to resource outside the project root, it is displayed properly
as the user expects.

Please see attached "How to reproduce video" for illustration.

Also please see attached "CMake server codemodel" as a reference of how the
project is expected to be shown from the build system perspective. I attached
video of the JSON displayed in Firefox for convenience - please see "Video of
JSON codemodel".

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

Reply via email to