CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.67k stars 4.18k forks source link

SDL Bump or ImGUI Broke Android Context Controls and Joystick is Anchored #78087

Open chriseich21 opened 1 day ago

chriseich21 commented 1 day ago

Describe the bug

Context controls do not display when navigating main menu on boot. Virtual joystick is anchored to top left corner (input is less accurate). Once context controls are displayed, they are not selectable (selects whatever is highlighted on game window)

Attach save file

N/A

Steps to reproduce

  1. Install cdda-experimental-2024-04-05-2105 or later (still present in 11-03-2024)
  2. Observe missing context control bar on main menu when opened
  3. Display context control bar (i.e. Options menu > Default Character Name > Cancel Text Input)
  4. Attempt to select a context control option (i.e. Tab to go to next Options page)
  5. Enter key is input instead of selected control (Default Char Name input reopens)

Expected behavior

I would expect no regression in context control behavior after #72154 and #72345 integration

Screenshots

3eb062c Version Not Working Screenshot: 3eb062c_Not_Working

dd1adff Version Working Screenshot: dd1adff_Working

Versions and configuration

OS: Android 14 64bit Game Version (Not Working): 3eb062c (cdda-android-x64-2024-04-05-2105) Game Version (Working): dd1adff (cdda-android-x64-2024-02-26-0341)

Additional context

Software Rendering - Enabled Force Fullscreen - Enabled/Disabled No Impact Trap Back Button - Enabled Native Android Menus - Disabled

chriseich21 commented 1 day ago

3eb062c Version Joystick Anchored: 3eb062c_Joystick

dd1adff Version Joystick Not Anchored: dd1adff_Joystick

Note: Context Controls do not display during Joystick Input

Jungle93 commented 15 hours ago

I encountered with the same problems on .H release version.I can't play any more.There is some env context info : Phone:HORNOR 80 GT OS:Android 12 64bit Game Version (Not Working): cdda-android-x64-2024-11-23-0334

Jungle93 commented 14 hours ago

I encountered with the same problems on .H release version.I can't play any more.There is some env context info : Phone:HORNOR 80 GT OS:Android 12 64bit Game Version (Not Working): cdda-android-x64-2024-11-23-0334

Yep.I solve the problem by turn the software rendering to off! Can you give it a try?@chriseich21