PCSX2/pcsx2

[BUG]: Fullscreen window starts on the leftmost screen on Wayland

RevengeRip opened this issue · 0 comments

Describe the Bug

I'm using KWin Wayland and have three monitors with main in the middle. When I open any game in PCSX2 fullscreen window goes to the leftmost screen despite emulator window being on any other screen.

Reproduction Steps

  1. Launch PCSX2 on a multimonitor configuration where left screen is not primary.
  2. Fullscreen window will go on the left screen.

Expected Behavior

Ideally there should be display select in interface settings. For now fullscreen window should go to the screen where emulator window is located.
I think issue originated somewhere here https://github.com/PCSX2/pcsx2/blob/master/pcsx2/ImGui/ImGuiFullscreen.cpp#L911 where we try to set window position and then go fullscreen, but since we can't change window position on Wayland, and we don't know about our current window position it ends up with some default value like 0,0 which represents origin of the leftmost monitor

PCSX2 Revision

PCSX2 v2.4.0 AppImage

Operating System

Linux (64bit) - Specify distro below

If Linux - Specify Distro

Arch

Logs & Dumps

No response