If a .patch file contains more than one empty lines at the end of file, Kompare complains that it has errors: "The diff is malformed. Some lines could not be parsed and will not be displayed in the diff view." I have created my patch file using rbt utility, not by myself. So I was surprised that kompare found some errors in it. I have found out, that it is because additional trailing new line. However, I am not familar with diff format specification. If it is really restricted, then it seems, that it is rbtool's bug. Original file (generated by rbt) and modified one are attached.
Created attachment 104527 [details] error while opening original
Created attachment 104528 [details] no error while opening modified file
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Yes, still reproducible. Kompare version is 4.1.22083