Bug 499628

Summary: Compare feature does not make a focus on KDiff3 window
Product: [Applications] kdiff3 Reporter: beanbo <ambean>
Component: applicationAssignee: michael <reeves.87>
Status: REPORTED ---    
Severity: normal CC: alex.bikadorov, krusader-bugs-null
Priority: NOR    
Version First Reported In: 1.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description beanbo 2025-02-07 04:19:28 UTC
SUMMARY
"Compare by Content" opens new kdiff window which loses focus

STEPS TO REPRODUCE
1. Select two files
2. Select File -> Compare by Content...

OBSERVED RESULT
The kdiff3 tool will start with a proper files opened and compared - as it should. But this window will not be active.

EXPECTED RESULT
kdiff3 window should be active as I expect. So, I can press Alt + F4 and close it easily or do any other operations.

SOFTWARE/OS VERSIONS
krusader v2.9.0 on Arch Linux
KDE on Wayland
Comment 1 Alex Bikadorov 2025-02-07 17:41:48 UTC
This is only happening with KDiff3. For Kompare and Meld the opened window does get focus.
Also when kdiff3 is started from command line the window does not get focus.

I'm moving this from Krusader to KDiff3.

My guess is that this is only happening in Wayland because there it is a known problem.
Comment 2 beanbo 2025-02-07 22:47:35 UTC
yeah, you are right about Wayland
Just tested on X11 and it is working as expected