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

            Bug ID: 399921
           Summary: KDevelop project looses open files during git rebase
           Product: kdevelop
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
After performing a git rebase operation while a number of files are open in
KDevelop editor window, most of the files disappear from the project structure
window and code parsing for them breaks donw (all text is marked as error). The
only solution I'm aware of is to activate project reload, which triggers
#399783. Together these two problems make KDevelop unusable.

STEPS TO REPRODUCE
1. Load a CMake-based project in KDevelop.
2. Open CMakeLists.txt and C++ source files from the project in the editor
window.
3. Switch to a feature branch with many commits.
4. Issue git rebase command which will rewrite these commits.

OBSERVED RESULT
All open CMakeLists.txt fies are missing from the project structure window,
most C++ sources are missing too. Code parsing is broken in the open source
files due to missing include paths. 

EXPECTED RESULT
Project structure is preserved when git rebase is ran.

SOFTWARE VERSIONS
KDE Plasma Version: 5.14.80
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
The git commits that are rebased do not necessary touch the files that go
missing.

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

Reply via email to