Bug 399921

Summary: KDevelop project looses open files during git rebase
Product: [Applications] kdevelop Reporter: Eugene Shalygin <eugene.shalygin+bugzilla.kde>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Eugene Shalygin 2018-10-17 10:07:01 UTC
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.
Comment 1 Justin Zobel 2022-12-01 04:34:31 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-12-16 05:14:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-31 05:24:30 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!