SUMMARY When I run `git mergetool` and it opens KDiff3, the Output pane is scrolled to the top rather than the first conflict, until I click "previous delta" and "next delta". STEPS TO REPRODUCE 1. Run `git config --global merge.tool kdiff3`. 2. In a git repository with a merge conflict, run `git mergetool`. OBSERVED RESULT The "Output:" pane is scrolled to the top of the document. EXPECTED RESULT The "Output:" pane is scrolled to the location of the first conflict, like the A/B/C panes. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.14.3-zen1-1-zen (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GT 730/PCIe/SSE2 This occurred on KDiff3 1.9.3 but not 1.8.5, and I believe it didn't occur on 1.9.2. ADDITIONAL INFORMATION
I'm on 1.9.2 and this happens to me.
Same issue here on 1.9.6
This appears to be fixed in 1.10.3/1.10.2. Is anyone able to repo. in the latest release?
Tried kdiff3 1.10.4 with two (not three) files. Now the up and down arrows do not scroll the document *at all*! Unless I turn off "Word Wrap Diff Windows", then it works.
Go ahead file a separate report for the new scroll. Likely a different root. Also FYI bugs left in NEEDSINFO status don't show in the default search and subject to possible automated closer after an extended period of inactivity. REPORTED is safe state to switch to when responding to such bugs.
Actually the bug still occurs on 1.10.4 I think?
Created attachment 159419 [details] Picture of "git mergetool" opening kdiff3 1.10.4, with output scrolled to top
Thanks I'll have a look at this.
Git commit d6d661f74a96c734daa74d3f4a36534ca35ce83a by Michael Reeves. Committed on 13/06/2023 at 19:08. Pushed by mreeves into branch '1.10'. Turn on updates before calling MergeResultWindow::slotGoNextUnsolvedConflict FIXED-IN:1.10.5 M +3 -2 src/pdiff.cpp https://invent.kde.org/sdk/kdiff3/-/commit/d6d661f74a96c734daa74d3f4a36534ca35ce83a
Git commit 32d4d0321a95be4318312d5ebb567137fff5f48d by Michael Reeves. Committed on 13/06/2023 at 19:11. Pushed by mreeves into branch 'master'. Turn on updates before calling MergeResultWindow::slotGoNextUnsolvedConflict FIXED-IN:1.10.5 M +3 -2 src/pdiff.cpp https://invent.kde.org/sdk/kdiff3/-/commit/32d4d0321a95be4318312d5ebb567137fff5f48d