Right click in instance menu spawns its own window while unfocused
Operating System
Linux
Version of Prism Launcher
Tested on Prism Launcher 8.3 and Latest commit
Version of Qt
QT 6.7.1 Wayland
Description of bug
The right click menu should correctly be attached to the main prism launcher window.
The right click menu spawned as its own window
Steps to reproduce
- Un-focus Prism Launcher
- Right click in the instance selection menu
Screencast_20240614_022447.webm
Suspected cause
Not focusing the main window before spawning the menu.
This issue is unique
- [X] I have searched the issue tracker and did not find an issue describing my bug.
I don't think is a prism issue: looks more like a compositor one
Prism is the only app I've seen this happen on. Other right click menus in prism work correctly as the main prism window is focused before spawning the menu
Instance update failed because: Component metadata update task failed while downloading from remote server: One or more subtasks failed prism launcher
@Covkie can you try the portable from here: https://github.com/PrismLauncher/PrismLauncher/actions/runs/9520351187?pr=2513 to see if you can reproduce it?
I tried the portable build(s - Qt 5/6) from the linked CI run and the issue still persists. Out of curiosity i tried the appimage from that same run and it doesn't have this issue which prompted me to try older appimages, They all correctly focus the main Prism Launcher window before spawning the context menu in the instances area.
Then that means is qt fault if this works with bundled qt from appimage. I'm not sure it can be fixed by us
I noticed #2481 and attempted to use the CI run's appimage but it still used 6.2.4 so I cannot confirm if this is a regression or not (I don't think it is anyway as the Qt 5 portable had the same issue). I guess this should be reported upstream?
You can try to report it on the qt side as I can't do much on prism.