cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

[Android] Edit boxes inoperable after GL Context recreated

Open joshbodily opened this issue 4 years ago • 0 comments

  • cocos2d-x version: cocos2d-x-3.17.1
  • devices test on: Samsung Galaxy S10+
  • developing environments
    • NDK version: android-ndk-r20b
    • Xcode version: N/A
    • VS version: N/A
    • browser type and version: N/A

Steps to Reproduce:

  1. Build cpp-tests for Android
  2. Browse to the EditBox tests (52: Node: UI > 1: GUI Dynamic Create Test > 3: EditBox Test
  3. Type some text in any of the three edit boxes
  4. Trigger GL context lost (easiest way to do this IMO is to change the System Font Size. You can also trigger it by attaching Layout Inspector in Android Studio)
  5. Return to the cpp-tests app
  6. Notice that edit boxes are all inoperable

Attachment:

https://user-images.githubusercontent.com/6953200/120675204-1abeb400-c452-11eb-9a22-8609d8a14cda.mov

joshbodily avatar Jun 03 '21 15:06 joshbodily