SUMMARY When opening a file from a file manager or with "kate filename.txt" command, it will always find the last used running instance and create a new tab there. This happens even if all the Kate windows are not on current virtual desktop. I have to start a new Kate manually and only then open the file. STEPS TO REPRODUCE 1. Start Kate 2. Switch to a different virtual desktop 3. Open a text file with Kate through a file manager OBSERVED RESULT Best case - Kate flashes in your panel's task manager widget, and that's it. EXPECTED RESULT A new instance of Kate appears with the requested file in its only tab. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.13.0 Qt Version: 6.9.0 Kernel Version: 6.14.3-arch1-1 (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION Originally I though this is not a bug, but Méven on discuss.kde.org forwarded me back here.
Can take some inspiration from: https://invent.kde.org/system/dolphin/-/merge_requests/529
(In reply to Méven from comment #1) > Can take some inspiration from: > https://invent.kde.org/system/dolphin/-/merge_requests/529 Perhaps I miss something there, but how does that work on Wayland? For X11 we have such code, too.
We will need something like https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/203 for Wayland.
As soon as it is possible, we will fix that, but so far we lack infrastructure for this.
Linked this bug in the freedesktop request.