Bug 489786 - Kdiff3 Context Menu: "Unknown Error"
Summary: Kdiff3 Context Menu: "Unknown Error"
Status: RESOLVED DUPLICATE of bug 486782
Alias: None
Product: kdiff3
Classification: Applications
Component: context-menu (show other bugs)
Version: 1.11.2
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-05 12:29 UTC by elydgolden
Modified: 2024-08-10 02:42 UTC (History)
3 users (show)

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


Attachments
Demo of KDiff3 bug on fresh openSUSE install (1.84 MB, video/x-matroska)
2024-07-05 12:29 UTC, elydgolden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elydgolden 2024-07-05 12:29:27 UTC
Created attachment 171408 [details]
Demo of KDiff3 bug on fresh openSUSE install

SUMMARY

Trying to compare files using the context menu does not work. However, it does put their names into the nameboxes after the unknown error popup, after which the comparison behaves as normal.

STEPS TO REPRODUCE
1. Click on two files in Dolphin
2. Click Kdiff3 > Compare to compare the files

OBSERVED RESULT

An unknown error message pops up

EXPECTED RESULT

The files are compared as normal

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Sam James 2024-07-21 15:08:12 UTC
We had this reported downstream in Gentoo too at https://bugs.gentoo.org/935224 where in https://bugs.gentoo.org/935224#c15, it was bisected to:

commit f6aca74944482c1bf5f2df653945a2fb5d2bf660 (HEAD)
Author: Michael Reeves <reeves.87@gmail.com>
Date:   Sun Sep 24 13:06:29 2023 -0400

    Delay updateAvailabilities until focus change is competed
    
    BUG:462693
    FIXED-IN:1.10.6
Comment 2 Malcolm Lashley 2024-07-23 22:45:34 UTC
(In reply to Sam James from comment #1)
> We had this reported downstream in Gentoo too at
> https://bugs.gentoo.org/935224 where in https://bugs.gentoo.org/935224#c15,
> it was bisected to:
> 
> commit f6aca74944482c1bf5f2df653945a2fb5d2bf660 (HEAD)
> Author: Michael Reeves <reeves.87@gmail.com>
> Date:   Sun Sep 24 13:06:29 2023 -0400
> 
>     Delay updateAvailabilities until focus change is competed
>     
>     BUG:462693
>     FIXED-IN:1.10.6

I was quick off the mark with my original bisect - exposing this issue is something of a race-condition... but that also means a bisect/test (one) cycle is going to lead to the wrong commit...

I repeated the bisect and landed here:

((fb3b7e66...)|BISECTING) $ git bisect bad
fb3b7e66d097f41e1e43f9ffe3e94eb48623a48e is the first bad commit
commit fb3b7e66d097f41e1e43f9ffe3e94eb48623a48e (HEAD)
Author: Michael Reeves <reeves.87@gmail.com>
Date:   Wed May 17 23:18:50 2023 -0400

    Move InitView call to KDiff3App::completeInit

 src/kdiff3.cpp | 2 ++
 src/pdiff.cpp  | 4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)

I then built the immediately preceding commit and ran 10 successful goes to prove I'm not going totally mad.

KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.3.0
QT Version: 6.7.2
Graphics Platform: X11
Comment 3 michael 2024-08-10 02:41:37 UTC
Thanks consolidating what appears to be two bugs with the same root cause found here. Though it was the information that finally helped find the cause.
Comment 4 michael 2024-08-10 02:42:07 UTC

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