libretro / libretro/RetroArch

RetroArch GUI has no minimum window size on Linux

Open
#16,829 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

Description

[Description of the bug]

On X11, at least on Plasma / Gnome it is currently possible to resize the window of the application to a small strip, hiding the entirety of the titlebar including the window controls. This makes it hard to find the application again or resize it back to its original size.

Screencast from 2024-07-30 06-59-24.webm

Peek 2024-07-30 06-58

Expected behavior

I would prefer the GUI to have a minimum window size just like on windows:

retroarchAnimation

That window is small, but no window control buttons from the titlebar or content from the main application window has been cut off. The application in this state is still usable

Actual behavior

The window is resizable to a small strip. The titlebar and all the content from the main gui are completely gone.

Steps to reproduce the bug
  1. Start in windowed mode
  2. Put the cursor to one of the corners of the window and start dragging
Version/Commit
  • RetroArch: 1.19.1 from Flathub
Environment information
  • OS: Arch

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

Reproduce the issue by running RetroArch in windowed mode on Linux under X11 and dragging a corner inward. Then locate the GUI window-size handling and determine how the Windows behavior preserves usable titlebar and content space. Done means the Linux window cannot be resized to a strip and remains usable at its minimum size.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.