Bug 497340 - When run from command line, kdiff3 always fails to open the second file
Summary: When run from command line, kdiff3 always fails to open the second file
Status: RESOLVED FIXED
Alias: None
Product: kdiff3
Classification: Applications
Component: application (show other bugs)
Version: 1.11.5
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-11 21:56 UTC by Reid Swanson
Modified: 2024-12-20 17:16 UTC (History)
1 user (show)

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


Attachments
Error dialog (91.07 KB, image/png)
2024-12-11 21:56 UTC, Reid Swanson
Details
attachment-4131774-0.html (286 bytes, text/html)
2024-12-20 16:50 UTC, michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reid Swanson 2024-12-11 21:56:16 UTC
Created attachment 176534 [details]
Error dialog

SUMMARY
When running kdiff3 from the command line it will always fail to immediately open the diff and issue an error dialog saying the second file cannot be opened.

STEPS TO REPRODUCE
1.  Execute kdiff3 from the command line with 2 or 3 file arguments.
2. Observe an error dialog that says "Opening of these files failed:\nfile2.txt"
3. Click 'OK'
4. All files are correctly populated in the file selection dialog.
5. Click 'OK'
6. The files are correctly shown in the diff GUI.

OBSERVED RESULT
The diff is not immediately shown when executed from the command line and you must click through several dialogs to get the diff shown.


EXPECTED RESULT
The diff of the files should be directly shown in the GUI.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Gentoo 2.17
KDE Plasma Version:  6.2.4
KDE Frameworks Version: 6.7
Qt Version: 6.7.3

ADDITIONAL INFORMATION
The following bug report on the ScoopInstaller appears to be identical to what I am observing. See my attached screenshots and those at the following link:
https://github.com/ScoopInstaller/Extras/issues/13303#issuecomment-2191496880
Comment 1 John Kizer 2024-12-20 16:31:20 UTC
Hi - I can't reproduce this on Fedora KDE 41 with KDiff3 version 1.12.0, either the RPM or Flatpak version. Could you please test with that version on your end to see if you still see the issue?

Thanks!
Comment 2 michael 2024-12-20 16:50:36 UTC
Created attachment 176791 [details]
attachment-4131774-0.html

It should be fixed in 1.12.0. 1.11.x had issues with command line use that gave false errors.
Comment 3 Reid Swanson 2024-12-20 17:08:31 UTC
(In reply to John Kizer from comment #1)
> Hi - I can't reproduce this on Fedora KDE 41 with KDiff3 version 1.12.0,
> either the RPM or Flatpak version. Could you please test with that version
> on your end to see if you still see the issue?
> 
> Thanks!

Hi,

Yes, it appears to work with 1.12.0! :-)