Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: The main window spontaneously moves up when switching full-screen / window mode #10065

Closed
VladimirVSC opened this issue Oct 3, 2023 · 2 comments

Comments

@VladimirVSC
Copy link

Describe the Bug

As it is said in the description, the main window moves up after every full-screen - window transition. My system (if necessary): Core-I5 12500, 16 Gb Ram, RTX 3060 Ti (525.125.06 driver).

PCSX2.ini.zip

Main.Window.moves.up.mp4

Reproduction Steps

  1. Starting any game (or bios) emulation
  2. Switching from full-screen to window mode several times
  3. The main window constantly drifts upward a bit after each switching

Expected Behavior

The main window must stay where it was initially placed to.

PCSX2 Revision

1.7.5084

Operating System

Linux (64bit) - Specify distro below

If Linux - Specify Distro

Linux Mint Debian Edition 6

Logs & Dumps

No response

@VladimirVSC VladimirVSC added the Bug label Oct 3, 2023
@stenzek
Copy link
Member

stenzek commented Oct 3, 2023

Are you using Wayland? This is likely not our bug - we don't move the window, but we do hide and re-show it on fullscreen transition, so it may be your window manager/compositor doing it.

@stenzek
Copy link
Member

stenzek commented Oct 3, 2023

Okay, dug into it, it's sadly invalid.

Under Wayland, the compositor decides where the window reopens, not the application. Flawed protocol by design. See https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/72. So it ends up reopening in a fixed position under kwin, and slowly moves down the screen under GNOME.

Under xorg, on kwin, it positions as expected. But under Wayland, it opens in the original position that it decided to put PCSX2 in on startup (again, because our "restore window position" code doesn't work, because Wayland doesn't allow it).

So yes. Not our bug.

@stenzek stenzek closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2023
@stenzek stenzek added the Invalid label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants