Desktop Menu Window is Hidden Behind When Launched

Open
#20,028 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
54/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
c
Domain
desktop

Research direction

Start by locating the Windows code that opens the Desktop Menu when F5 is pressed and check how it sets the window's position in the window stack. Reproduce by launching RetroArch on Windows and pressing F5; done when the Desktop Menu appears above the main RetroArch window. The issue does not name a source file or test, so first trace the F5 handler and inspect the Windows window management code.

Written by the indexing model from the issue text.

Description

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

When launching the Desktop Menu on Windows (F5), it doesn't come upfront, but becomes hidden behind the default RetroArch menu:

Image
Expected behavior

The Desktop Menu should come on top of every other window when launched, like this:

Image
Steps to reproduce the bug
  1. Open RetroArch.
  2. Press F5 to open the Desktop Menu.
Version/Commit

1.22.2 (Git f726f09)

Bisect Results

No response

Present in the nightly version

Yes, this is reproduced in the nightly build

Platform & operating system

Windows 11 Pro x64 v10.0.26300

Affected Cores

No response

Environment information

No response

Relevant log output
[INFO] RetroArch 1.22.2 (Git f726f09)
[INFO] === Build =================================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES PCLMUL AVX AVX2 FMA3 LZCNT 
[INFO] Version: 1.22.2
[INFO] Git: f726f09
[INFO] Built: Nov  6 2026
[INFO] ===========================================================
[INFO] [Input] Found input driver: "dinput".
[INFO] [Environ] SET_PIXEL_FORMAT: RGB565.
[INFO] [Core] Version of libretro API: 1, Compiled against API: 1
[INFO] [Core] Geometry: 320x240, Aspect: 1.3333, FPS: 60.0142, Sample rate: 48000 Hz.
[INFO] [Video] Set video size to: fullscreen.
[INFO] [GLCore] Found GL context: "wgl".
[INFO] [GLCore] Detecting screen resolution: 1920x1080.
[INFO] [WGL] Extensions: WGL_EXT_depth_float WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format WGL_ARB_pbuffer WGL_EXT_extensions_string WGL_EXT_swap_control WGL_ARB_multisample WGL_ARB_pixel_format_float WGL_ARB_framebuffer_sRGB WGL_ARB_create_context WGL_ARB_create_context_profile WGL_EXT_pixel_format_packed_float WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_ARB_robustness_application_isolation WGL_ARB_robustness_share_group_isolation WGL_ARB_create_context_robustness WGL_ARB_context_flush_control 
[INFO] [GLCore] Source is SDR (16-bit), output SDR.
[INFO] [GLCore] Vendor: Intel, Renderer: Intel(R) UHD Graphics 620.
[INFO] [GLCore] Version: 4.6.0 - Build 31.0.101.2140.
[INFO] [GLCore] Views copied by glCopyImageSubData.
[INFO] [GLCore] Using resolution 1920x1080.
[INFO] [GLCore] Using Slang shader backend.
[INFO] [GLCore] Loading stock shader.
[INFO] [GLCore] Building pass #0 (N/A)
[INFO] [Slang] Reflected pass 0 from the compiler's tables.
[INFO] [GLCore] Linked the compiler's GLSL directly.
[INFO] [GLCore] Not using frame history.
[INFO] [GLCore] Not using framebuffer feedback.
[INFO] [XInput] Found XInput v1.4.
[INFO] [Input] Found joypad driver: "dinput".
[WARN] [Input] Configured joypad driver "xinput" failed to initialise; falling back to "dinput".
[INFO] [Video] Found display server: "win32".
[INFO] [Audio] Set audio input rate to: 48000.00 Hz.
[INFO] [XAudio2] Requesting 64 ms latency, using 64 ms latency.
[INFO] [Audio] Started synchronous audio driver.
[INFO] [Audio] Driver "xaudio" reports a 24576-byte buffer: 64.0 ms of 2-channel float at 48000 Hz against a 64 ms latency setting; rate control holds it near 32.0 ms.
[INFO] [Microphone] Initialized microphone driver.
[INFO] [Display] Found display driver: "glcore".
[INFO] [Playlist] Loading favorites file: "R:\RETRO\RetroArch\playlists\builtin\content_favorites.lpl".
[INFO] [Playlist] Loading history file: "R:\RETRO\RetroArch\playlists\builtin\content_history.lpl".
[INFO] [Playlist] Loading history file: "R:\RETRO\RetroArch\playlists\builtin\content_image_history.lpl".
[INFO] [Playlist] Loading history file: "R:\RETRO\RetroArch\playlists\builtin\content_music_history.lpl".
[INFO] [Playlist] Loading history file: "R:\RETRO\RetroArch\playlists\builtin\content_video_history.lpl".
[INFO] [Input] Controllers of the "dinput" driver are read through a snapshot taken once a poll.
[INFO] [HID] Xbox pads are paired with Windows.Gaming.Input.
[INFO] [Audio] sinc resampler active path: float
[INFO] [Core] Unloading core...
[INFO] [Core] Unloading core symbols...
Dominant language
C
Stars
14.6k
Forks
2.4k
Avg merge
2d 5h
Merged PRs (30d)
63

Getting set up

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.

More from libretro/RetroArch

All issues in libretro/RetroArch

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.