Bug 474916 - Git sidebar: Open diff when clicking on modified or staged file
Summary: Git sidebar: Open diff when clicking on modified or staged file
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-26 19:57 UTC by Alexander Wilms
Modified: 2023-09-27 21:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Configure it here. (91.66 KB, image/png)
2023-09-27 06:19 UTC, Waqar Ahmed
Details

Note You need to log in before you can comment on or make changes to this bug.
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