Bug 515846

Summary: When opening a new document in a new window, the focus is sent on a previous instance on another virtual desktop
Product: [Applications] kate Reporter: Peter Cam <sittingonthedock>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 25.12.2   
Target Milestone: ---   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Peter Cam 2026-02-11 00:06:32 UTC
SUMMARY
When "open each document in his own window" is selected, and there is already one open document x in virtual desktop x, opening a new document y in desktop y send the focus to virtual desktop x instead of staying with the newly opened document y in desktop y.

STEPS TO REPRODUCE
1. Select "open each document in his own window" in Kate configuration
2. Open one document x in virtual desktop x
3. Open another document y in virtual desktop y

OBSERVED RESULT
Focus is send to virtual desktop x

EXPECTED RESULT
Focus stays with the newly opened document y in virtual desktop y

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2