Fedora 40: App is not being activated

Another issue I’ve encountered after updating to Fedora 40 beta + high DPI screen with 1.5x scaling

When running Jetbrains IDEs, it sometimes happens that the appropriate window is not activated, i.e. the window in the background is being controlled instead of the one in the foreground. (this did not happen before the F40 beta upgrade). I do not remember if this happens with other applications, but native and flatpak apps see to be safe of this issue.

This sounds exactly like this report here: Window confusion