Launcher display options #1938
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1938
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1938/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@shadowbeat070 on GitHub · 2026-10-27 15:10 UTC · original
shadowbeat070:launcher-display-options→main· +181 −46 · 10 files · 6 commits · merged 2026-10-27 20:59 UTCSmall miscellaneous fixes for the launcher windows and added cusom resolution support for games
Summary
07b72f45launcher: make the settings dialog resizable and its tabs scrollable18fb908flauncher: add a Stretch to window optionc604e299launcher: accept custom screen resolutions such as 21:96f36581agraphics: keep the game's aspect ratio when presenting to the window172ccd7elauncher: add minimize and maximize buttons to the main windowPR follows contribution guidelines and the Windows build is verified.
The resolution was a fixed enum of four 16:9 sizes. Make the combo box editable so any WIDTHxHEIGHT between 320 and 16384 can be entered, and add ultrawide presets (2560x1080, 3440x1440, 3840x1600, 5120x2160). Settings saved by older launchers stored the enum key ("R1920X1080"); NormalizeResolution still accepts that form, so they load unchanged.@coderabbitai[bot] on GitHub · 2026-10-27 15:18 UTC · original
Walkthrough
The change adds editable, validated resolution settings and an optional stretch setting. The launcher stores these settings and passes the corresponding resolution and
--stretchoption to the emulator. The swapchain fits frames and overlays to the window when stretching is off, with black clearing outside the fitted frame.Suggested reviewers:
nmzikPriority:
Normal
Change: Feature
Merge Risk:
Low · up to
07b72Older exported game configurations using legacy resolution keys can fail to import. This is a bounded compatibility issue to fix or explicitly accept before merging.
Pre-merge checks:
4 ·
1
Full details: Docstring Coverage
Explanation
Docstring coverage is 4.55% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 22 functions across 9 files. (1 skipped: 1 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.@ -50,2 +69,3 @@#define KYTY_CFG_GET(n) n = s.value(QStringLiteral(#n)).template value<decltype(n)>()KYTY_CFG_GET(screen_resolution);const auto resolution = NormalizeResolution(s.value("screen_resolution").toString());screen_resolution = resolution.isEmpty() ? QStringLiteral("1280x720") : resolution;@coderabbitai[bot] on GitHub · 2026-10-27 15:18 UTC · original · edited 2026-10-27 20:58 UTC
Accept legacy resolution values during game-config import.
When an older exported game config contains
screen_resolution: "R1920X1080", this code stores1920x1080.SetGameSettingsthen compares that value with the original string and rejects the import as invalid. The import workflow callsSetGameSettingsfor each game config. Normalize the resolution value before that comparison, while still rejecting values that fail validation. (raw.githubusercontent.com)✅ Addressed in commit
eb17315@coderabbitai[bot] on GitHub · 2026-10-27 15:18 UTC · original · reviewed
Actionable comments posted: 1
41689c77-99e8-49fe-a2fd-a88f48fa8682Reviewing files that changed from the base of the PR and between
0685bffb2fand07b72f4579.src/common/emulatorConfig.cppsrc/common/emulatorConfig.hsrc/graphics/presentation/window/swapchain.cppsrc/launcher/forms/configuration_edit_dialog.uisrc/launcher/include/configuration.hsrc/launcher/include/configurationEditDialog.hsrc/launcher/src/configuration.cppsrc/launcher/src/configurationEditDialog.cppsrc/launcher/src/mainDialog.cppsrc/main.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.