CleverRaven / CleverRaven/Cataclysm-DDA
Character creation menu picking profession doesn't get remembered properly in UI when switching tabs
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 185
Description
### Describe the bug
When selecting a profession, you need to scroll through the list and hit 'enter' to apply that profession. This saves your selection to the top of the character creation screen. However, if you scroll to other professions then tab to background, then tab back to profession, the UI doesn't remember what profession you had selected, and instead thinks the last scrolled-to profession was selected.
### Attach save file
N/A
### Steps to reproduce
1. Enter character creation screen
2. Choose Scenario and switch to profession
3. Choose and select any profession (it will update in the top section to reflect your selection), and scroll a little bit without choosing another profession
4. Switch to another tab and switch back to profession tab
5. Notice the last-selected profession is now green instead of the profession you actually selected previously, the one in the top section of the UI.
### Expected behavior
The currently selected profession should be green, not the profession that you had scrolled to last.
### Screenshots
### Versions and configuration
The in-game 'debug->info->generate game report' isnt getting my operating system correct, I have Windows 11 OS, not Windows 10.
- OS: Windows
- OS Version: 10.0.26200.8457 (25H2)
- Game Version: cdda-experimental-2026-05-12-2118-dirty [64-bit]
- Graphics Version: Tiles
- Game Language: System language []
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms]
]
### Additional context
N/A
Contributor guide
Research direction
Start at the character creation screen's profession and background tabs and reproduce the selection flow described in the issue. Trace how the selected profession and the last-scrolled profession are stored when switching tabs. Done means the profession shown in the top section remains highlighted after returning to the profession tab, with the last-scrolled entry no longer treated as selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100