libretro / libretro/RetroArch

Remember window position and size moves the window down

Open
#17,716 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

When you enable Remember Window Position and Size, the window will be moved a bit down every time you initialize the window, which happens on e.g. starting or closing content. In my case it's on macOS 15.3 with RetroArch 1.20.0.

You can simply test it by toggle the option Remember Window Position and Size (Video > Windowed Mode) on and off. You will see that the window moves a bit down every time you enable it. Until the window is a bit out of the screen. If you resize the height it moves again down. This means, that the position is related in the size. I think this should be just reimplemented.

In my case, I use RetroArch on the right side of my TV (left side is video streaming). Without that Remember Window Position and Size option, the core window is always wrong (too small). It would be great if this can be fixed.

Expected behavior

The option Remember Window Position and Size should not shift depending on size. The window is moved down every time the window is initialized.

Steps to reproduce the bug

You can test this for example open and close content or just switch the option on/off.

  1. Go to Settings > Video > Windowed Mode
  2. Enable/Disable Remember Window Position and Size
  3. See that the window moves down on enable that option. If not, try to resize the height. Repeat 2.
Version/Commit

1.20.0

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

macOS 15.3.1

Affected Cores

No response

Environment information

Default setting

Relevant log output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior on macOS 15.3.1 in Settings > Video > Windowed Mode with Remember Window Position and Size enabled, then repeat the toggle or resize steps described in the issue. Done means the window no longer shifts downward when it is initialized or resized.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.