Bug 366310 - krusader pass wrong file names to kdiff3
Summary: krusader pass wrong file names to kdiff3
Status: RESOLVED DUPLICATE of bug 371193
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL: http://i.imgur.com/f4nzb94.png
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-31 17:55 UTC by reagentoo
Modified: 2018-05-06 00:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reagentoo 2016-07-31 17:55:27 UTC
File names like /foo/bar are passed as /foo/file:/foo/bar. Tested on latest git build of krusader (Qt5).

Reproducible: Always
Comment 1 Marcin Gryszkalis 2016-10-04 22:18:15 UTC
Tested with today's git and works properly. Can you pull and rebuild?

My environment is
KDE Frameworks 5.26.0
Qt 5.6.1 (built against 5.6.1)

What's yours?
Comment 2 reagentoo 2016-10-05 10:21:24 UTC
(In reply to Marcin Gryszkalis from comment #1)
> Tested with today's git and works properly. Can you pull and rebuild?
> 
> My environment is
> KDE Frameworks 5.26.0
> Qt 5.6.1 (built against 5.6.1)
> 
> What's yours?
I have same environment in the Gentoo (~amd64). I just rebuild now krusader grom git and have same problem with kdiff3. http://i.imgur.com/f4nzb94.png
Comment 3 Alex Bikadorov 2016-10-05 14:38:31 UTC
Like Marcin, I can't reproduce it. Everything seems fine with Kompare and KDiff3.

What are your actions, "Open with" or "Compare by content"? You have selected two (plain text) files?

How about other files, different paths or filesystem?
Comment 4 Tomáš Hanák 2016-10-17 17:53:54 UTC
I can reproduce the issue.

"Open with" works as expected (e.g. opening plain text file in KWrite).
"Compare by content" opens KDiff3 with incorrectly formated paths, same result with various file formats...

Environment:
Archlinux
Krusader from git master HEAD (e9ea9bc)
KDE Frameworks 5.27.0
Qt 5.7.0 (built against 5.7.0)
Comment 5 Alex Bikadorov 2016-10-17 18:22:51 UTC
ok, to make this sure:

* in settings->Dependencies, "diff utility" is set to "/usr/bin/kdiff3"?
* what is the version of kdiff3?
* does it work with kompare and/or meld?
* select two plain text files, right-click->open with->others... and type "kdiff3 %U". Does this work?
Comment 6 Tomáš Hanák 2016-10-17 18:57:49 UTC
* In settings->Dependencies, "diff utility" is set to "/usr/bin/kdiff3", correct.
* Recently I use KDiff3 from git KDE Framework branch, on Arch the package kdiff3-kf5-git version 20160423_2b7e23a-1 (app version 1.7.0).
* It works with kompare.
* Open with "kdiff3 %U" works as expected.

After the tests above I tried to downgrade the kdiff3 tool and it works well with latest stable version 0.9.98.

On other side when I run this in terminal:
    kdiff3 a.txt b.txt
it works with any version of kdiff3.

What works in stable version but does not work in KF5 git version is:
    kdiff3 file:///home/tom/a.txt file:///home/tom/b.txt

It seams it's KDiff3 issue. Thanks for your hints.
Comment 7 Alex Bikadorov 2016-10-18 12:58:48 UTC
Glad I could help.
Please fill a bug report for KDiff3 -> https://bugs.kde.org/buglist.cgi?component=general&product=kdiff3&resolution=---

Cause I can't reproduce it I shouldn't do this.
Comment 8 Alex Bikadorov 2016-10-18 12:59:54 UTC
Could be a duplicate of bug 364062
Comment 9 Tomáš Hanák 2016-10-18 20:26:52 UTC
I reported new bug for KDiff3 as drag&drop works for me.
https://bugs.kde.org/show_bug.cgi?id=371193
Comment 10 Alex Bikadorov 2016-10-18 20:52:20 UTC
Good

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