SUMMARY I often use the compare to active document feature, but if the files (one or both) are accessed from sftp network storage the compare tool does not work. Both files can be read and edited, compare can be clicked, but the new screen that comes up is just empty. STEPS TO REPRODUCE 1. in kate open two files from sftp network storage 2. try to "compare with active document" one with the other 3. the compare screen shows but its empty OBSERVED RESULT compare screen shows but its empty EXPECTED RESULT compare screen shows with the diff SOFTWARE/OS VERSIONS Linux kernel: 6.8.7 Fedora 40 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0
Same here, neither the built-in comparison works, nor the external tools, even the KDE ones. My use case was comparing a config file between two remote machines.
True, we will need to improve KateFileActions::compareWithExternalProgram to dump remote files to temp files to have that.
(In reply to Christoph Cullmann from comment #2) > True, we will need to improve KateFileActions::compareWithExternalProgram to > dump remote files to temp files to have that. And DiffWidget::diffDocsGitArgs
(In reply to Christoph Cullmann from comment #2) > True, we will need to improve KateFileActions::compareWithExternalProgram to > dump remote files to temp files to have that. For external KDE tools that shouldn't be needed, as you can pass URLs directly to KDiff3, no?
(In reply to Grósz Dániel from comment #4) > (In reply to Christoph Cullmann from comment #2) > > True, we will need to improve KateFileActions::compareWithExternalProgram to > > dump remote files to temp files to have that. > > For external KDE tools that shouldn't be needed, as you can pass URLs > directly to KDiff3, no? We can not be sure that works for the tool the user selects. Beside that we use git diff in some cases.