- changed status to resolved
Crash when pressing "TEXT" on Network services setup numeric settings fields
Crashes when you press TEXT when any numeric entry field is in focus in any of the setup screens under MENU>Setup>Network>Network services.
The problem is because context VirtualKeyboardActions has actions mapped for showVirtualKeyboard in two action maps. Only one of the action maps is disabled on ConfigNumber fields, and the other action map allows method KeyText() to be called on ConfigNumber items. This calls code that should not be used on a ConfigNumber, and he code crashes.
Replication steps Navigate to MENU>Setup>Network>Network services>DLNA server, then to MENU>Port.
Press TEXT. Crash.
Crash log attached.
Comments (2)
-
-
Merged in prl/easy-ui-4/Fix-bug-398 (pull request #112)
Fix bug
#398: Crash when pressing "TEXT" on Network services setup numeric settings fields→ <<cset 8736a1b2d48d>>
- Log in to comment
Fix bug
#398: Crash when pressing "TEXT" on Network services setup numeric settings fields[NetworkSetup] Remove VirtualKeyboardActions context and showVirtualKeyboard actions from ActionMaps in the setup screens. These actions weren't being disabled when the focus was on a ConfigNumber entry (in the DLNA and DYN-DNS setup screens), and KeyText() was being called on the ConfigNumber entries. ConfigNumber is nt compatible with KeyText().
Removed from all ActionMaps, even for screens with no ConfigNumber entries to prevent future problems if a ConfigNumber entry was added.
→ <<cset 4fc16ca3f805>>