Bug 490028 - Opening files from the command line fails
Summary: Opening files from the command line fails
Status: RESOLVED DUPLICATE of bug 486782
Alias: None
Product: kdiff3
Classification: Applications
Component: application (show other bugs)
Version: 1.11.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-10 16:20 UTC by jweems
Modified: 2024-07-17 20:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Error message (9.24 KB, image/png)
2024-07-10 16:20 UTC, jweems
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***