Bug 474916

Summary: Git sidebar: Open diff when clicking on modified or staged file
Product: [Applications] kate Reporter: Alexander Wilms <f.alexander.wilms>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: waqar.17a
Priority: NOR    
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Configure it here.

Description Alexander Wilms 2023-09-26 19:57:13 UTC
SUMMARY
Coming from VS Code, I expected the diff to open when clicking on a modified file. Instead, one has to use the context menu.


STEPS TO REPRODUCE
1. Open git repo with Kate
2. Modify a file and save it
3. Open Git sidebar
4. Click on a file

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The diff view showing the full context opens

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230922
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.4-1-default (64-bit)
Graphics Platform: X11


ADDITIONAL INFORMATION
Comment 1 Waqar Ahmed 2023-09-27 06:19:08 UTC
Created attachment 161904 [details]
Configure it here.

You can configure the single click as shown in the attached screenshot. It is disabled because having both single and double click can lead to confusing behavior sometimes.
Comment 2 Alexander Wilms 2023-09-27 21:32:42 UTC
Thanks