Created attachment 430198 [details] emerge --info kde-misc/kdiff3 does not install a .desktop file with USE="qt5 -kde". I had to start KDiff3 from Konsole! I tried using the src-QT4/kdiff3.desktop file from the KDiff3 sources but it did not work. Instead I created the following .desktop file and placed it in ~/.local/share/applications. The icon is supplied by the Breeze icon set that is part of KDE Frameworks/Plasma 5. [Desktop Entry] Name=KDiff3 Exec=kdiff3 Icon=kdiff3 Type=Application Terminal=false Categories=Qt;Development;
We have packaged a live ebuild in kde overlay for an porting repository to KDE Frameworks 5. Maybe it is fixed there. https://quickgit.kde.org/?p=scratch%2Fthomasfischer%2Fkdiff3.git&a=shortlog&h=38da4f17ed15fe967cd16bafbe7710b77c8d9a1b
I tried the live ebuild from the kde overlay, and it does install a desktop file named org.kde.kdiff3.desktop . However just like the desktop file from the the KDiff3 0.9.98 sources, it does not work, at least with Plasma 5. Although I can make it work if I change the Exec line from: Exec=kdiff3 %i -caption "%c" to Exec=kdiff3 %i "%c"
-caption is indeed breaking startup, it needs to be replaced with -windowtitle upstream.
well, -qwindowtitle
Created attachment 454472 [details, diff] org.kde.kdiff3.desktop.diff
Fix is upstream: https://cgit.kde.org/scratch/thomasfischer/kdiff3.git/commit/?h=kf5&id=244beaa9a646a71065b393f294ff3021e65ebf1f
Created attachment 459424 [details] kdiff3-0.9.98_p20170110.ebuild I've created a KF5-based snapshot for testing which contains that fix, from git://anongit.kde.org/scratch/thomasfischer/kdiff3 +refs/heads/kf5
(In reply to Andreas Sturmlechner from comment #7) Andreas, you are a dev now, you can add it to the tree :) I cannot test it much myself, as I only have qt5 parts installed (no kde around)
Indeed, but I didn't want to bypass you. Anyway, this branch needs more fixing - file dialog URLs are broken, that's a major bug.
I've added KF5-based snapshot kde-misc/kdiff3-0.9.98_p20170219 to tree, please test.
No issues discovered. kdiff3 now installs a working desktop file. Thank you.