https://bugs.kde.org/show_bug.cgi?id=411472
Bug ID: 411472 Summary: kdiff3 cannot insert a blank line in 3way merge Product: kdiff3 Version: 1.8.x Platform: Neon Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: application Assignee: reeves...@gmail.com Reporter: bugmenot....@gmail.com Target Milestone: --- Created attachment 122435 --> https://bugs.kde.org/attachment.cgi?id=122435&action=edit The problem When 3-way merging from a git repo, you could still pretty much merge the same way but it becomes a bit tedious to use the text editor in the output pane. When pressing enter to insert a blank line somewhere in an unindented line in the text editor, it will become a <Merge Conflict> and is impossible to "solve" or get overwritten as shown in the attached image. The <Merge Conflict> from this problem will not prevent saving the merge. Also, the <Merge Conflict> from this problem will not be saved as a new lines. STEPS TO REPRODUCE 1. Initiate a 3-way merge on some merges with unresolved conflicts. 2. Resolve all conflicts. 3. Find a non indented line go to the end of that line. 4. Try inserting a new and blank line by pressing enter 5. Try writing anything on that new line. OBSERVED RESULT A new line marked with <Merge Conflict> is shown which is both unwrtitable and unerasable. EXPECTED RESULT A new and blank line is shown which is marked with "m" on the left side of the output pane. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.16.0 Qt Version: 5.12.3 ADDITIONAL INFORMATION I think this may be reproducible for 2-way merges on regular files initiated from kdiff3 itself, so doing it from git may not be really needed. There is a possible work-around. Try pressing enter in between some text. That is, the cursor should have at least a single character in front and in back of the text cursor. Doing so, it should be possible to insert a new line then use sed to clean the lines afterwards. Removing the contents from kdiff3's text editor will still result to the same state as mentioned before, <Merge Conflict>. -- You are receiving this mail because: You are watching all bug changes.