Bug 490028

Summary: Opening files from the command line fails
Product: [Applications] kdiff3 Reporter: jweems
Component: applicationAssignee: michael <reeves.87>
Status: RESOLVED DUPLICATE    
Severity: normal CC: a-spid3r
Priority: NOR    
Version: 1.11.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Error message

Description jweems 2024-07-10 16:20:01 UTC
Created attachment 171540 [details]
Error message

SUMMARY

When launching KDiff3 from the command line with files specified KDiff3 shows an error saying the 2nd file failed with an Unknown error. This happens when doing both a 2 way and a 3 diff. If I click ok to dismiss the error the next dialog box is pre-populated with the path of the files from the command line. If I click ok the files open correctly. I tested in 1.11.2 but I found this thread (https://github.com/ScoopInstaller/Extras/issues/13303)  describing the same error in 1.11.0. Downgrading to 1.10.7 resolves the issue

STEPS TO REPRODUCE
1. Call KDif3 from the command line with files specified 
This is the command I ran for testing. All 3 files exist and are simple text files with a single line
kdiff3.exe C:\Tmp\C.txt C:\Tmp\A.txt C:\Tmp\B.txt

OBSERVED RESULT
KDiff3 throw an error opening the 2nd file

EXPECTED RESULT
KDiff3 to open without error
Comment 1 Johannes Lorenz 2024-07-14 19:35:45 UTC
I think this is a duplicate of 486782 in a different situation.
Comment 2 jweems 2024-07-17 20:13:05 UTC
I looked at 486782 and concur this is a duplicate. I'm going to assume I wouldn't have the mark as duplicate button available if I wasn't supposed to use it so I'll mark this bug as such. I don't report bugs often so please let me know if this was the wrong thing to do.

*** This bug has been marked as a duplicate of bug 486782 ***