| Summary: | KDevelop doesn't back fully to code perspective after commit and unsaved file | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Piotr Mierzwinski <piotr.mierzwinski> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | piotr.mierzwinski |
| Priority: | NOR | ||
| Version First Reported In: | 5.3.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Piotr Mierzwinski
2018-11-16 23:08:42 UTC
OK. Today I reproduced this issue couple times. Below please find the steps. STEPS TO REPRODUCE (couple files) 0. Remove directory ~/.local/share/kdevelop and run KDevelop 1. Open some project (C++ for example) 2. Open couple files, for example 5 3. Modify 3 files and save them 4. Use "Show Differences.." for whole project (click in root item of project and select "Git -> Show Differences..") In result you will get "Overview" file and all modified files opened 5. Click "Finish Review" OBSERVED RESULT In result we will get patch file and all modified files opened. Unfortunately not modified files didn't back. Where are they? I don't know possibility to restore all opened previously files. EXPECTED RESULT After click "Finish Review" all opened files before use "Git -> Show Differences.." should be restored. STEPS TO REPRODUCE (one file) Just continue previous list 6. Use "Show Differences.." for single modified file (RMB in body of this file and select "Git -> Show Differences..") 7. Click "Finish Review" OBSERVED RESULT In result you will get patch file and one modified files opened. Unfortunately other not compared files have not been opened. It is easy to restore them, because we can use trick from begin list of steps. Therefore we need to jump to point 4th and in result will get all modified files. Unfortunately not modified files we need opened one more time, manually. EXPECTED RESULT After click "Finish Review" all opened files before use "Git -> Show Differences.." should be restored. I retested KDevelop version: 5.2.4, 5.2.0, 5.1.2 (using AppImage files). Unfortunately issue happens in all of them. This is a little bit strange, because I remember that this issue didn't happen in previous versions :-/. After test 5.3.0 version I thought this is regression. Now I'm confused. BTW. Nightly build of 5.3.0, so KDevelop-git-x86_64.AppImage crashed. Seems this issue is specific only to my system and or KDevelop configuration. I tried to reproduce in KaOS with KDevelop 5.3.0 and all was working fine. After removed all configuration, so: .config session session/kdevelop_1011d10dde79000154275708900000007010041_1543364718_215279 kdeveloprc .local/share kdevappwizard kdevelop kdevelop-qthelp kdevfiletemplates kdevpythonsupport .local/share/kxmlgui5 kdevclangsupport kdevcodeutils kdevcontextbrowser kdevcppcheck kdevcvs kdevdebugger kdevdocumentswitcher kdevelop kdevfiletemplates kdevgdb kdevgrepview kdevheaptrack kdevlldb kdevpatchreview kdevprojectmanagerview kdevquickopen kdevsession kdevsourceformatter kdevswitchtobuddy kdevvalgrind KDevelop correctly back to code perspective after commit finished. Strange was that after very first run of KDevelop, views "Snippets" and "Documentations" were not displayed despite they were turned on in configuration. This looks like a bug. |