Bug 346893

Summary: Unwanted opening files if user cancels commit operation
Product: [Developer tools] kdevplatform Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: patchreviewAssignee: kdevelop-bugs-null
Status: RESOLVED NOT A BUG    
Severity: normal CC: david.nolden.kde, piotr.mierzwinski
Priority: NOR    
Version First Reported In: 1.7.1   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Piotr Mierzwinski 2015-04-29 09:54:00 UTC
KDevelop opens all files which ones have been closed, but were changed and are going to be commit. It happened when user cancel commit operation. Details below.

Reproducible: Always

Steps to Reproduce:
1. run KDevelop with some project which have several files (using git as Version Control)
2. make changes in about 5 files (we are in Code context)
3. close all files remaining only one opened
4. invoke commit (for example clicking right mouse button in top dir in Projects view and chosing commit) (we are in Review contex)
5, in "Patch Review" view, click "Cancel Review" (thanks that we can back to Code context)
6. invoke commit (clicking right mouse button in top dir in Projects view and chosing commit) (we are in Review contex)
   Note. During change to Review context we can notice that KDevelop opens all changed files and finaly open Review contex only with "Overview" in editor
7. in "Patch Review" view, click "Cancel Review" (thanks that we can back to Code context)

Now we can see that in Code context there are opened all changed files
We can close all not interested files, but when you invoke commit and close again then situation with opening files will repeat.


Actual Results:  
Opening unwanted files.

Expected Results:  
No opening files which ones are going to be commit, but in current KDevelop session are not opened.
Comment 1 Piotr Mierzwinski 2020-08-07 10:48:57 UTC
Seems issue was related with my system. I close this bug report.