- Wayland session.
- Launch Cuda Qt (both official Qt5 and Flatpak Qt6 are affected).
- Minimize Cuda and open a text file externally. For instance, by doubleclicking the file from desktop or from your file manager, or by terminal
/path/to/cudatext "/path/to/textfile.txt".
Expected:
The already open Cuda window should jump to the front, displaying the file you opened.
Current:
The file opens, but Cuda window is not focused, you need to manually switch to it to read/edit.
Gtk is not affected.
I use KDE Plasma, but hopefully any DE running Wayland session is affected when you run Qt Cuda.
Currently, I run Cuda with QT_QPA_PLATFORM=xcb set to avoid this issue. By doing this, I'm launching Cuda as xwayland window instead of native Wayland, so I shouldn't do it. And Cuda xwayland has its own bugs like #5132.