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