libretro / libretro/RetroArch

Add line breaks for long messages in the on-screen notification widget

Open
#16,147 1 comment 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

Steps to reproduce the bug
Case 1: Save Controller Profile

Settings -> Input -> RetroPad Binds -> Port 1 Controls -> Save Controller Profile will display up to 110 characters when https://github.com/libretro/RetroArch/issues/16121 has been solved:

  • 110 characters example: "Saved "udev/Sony Interactive Entertainment DualSense Wireless Controller.cfg" in Controller Profile directory."

If you don't own this controller, the device id:manufacturer id to an autoconfig file for a controller you own, to make it display the long "Sony Interactive Entertainment DualSense Wireless Controller" text.

Android

Android can only display about 80 characters

image

Desktop

The Appimage can display 130 characters, so it should be fine.

Note for desktop ports: The on-screen notification is too narrow/short for long text. Settings -> Video -> Fullscreen Mode -> Start in Fullscreen Mode didn't make any difference, even for a wide screen monitor.

Case 2: Save New Configuration

Not a problem, when https://github.com/libretro/RetroArch/issues/16222 has been solved

  • "Saved "RetroArch-0121-004400.cfg" in Config directory." (54 characters)
Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.16.0 Appimage
Environment information
  • OS: GNU/Linux
  • Compiler: [In case you are running local builds]

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 long notification from Settings -> Input -> RetroPad Binds -> Port 1 Controls -> Save Controller Profile on Android and a desktop AppImage. Inspect the on-screen notification widget and compare its behavior across the reported screen sizes; done means long messages wrap into readable lines without being clipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.