Download wizard: manual input form resets after losing the focus #131

Closed
opened 2024-12-18 17:28:45 +01:00 by anyuta1166 · 2 comments

The form for manually entering server/activation/confirmation code resets after losing the focus.

It makes it impossible to copy and paste this information from another app.

For example, I copy server address, paste it to OpenEUICC, switch to the notepad to copy activation code, switch back to OpenEUICC - and server address is gone!

App version: v1.0.0-225-g895899d (latest commit as of now)

The form for manually entering server/activation/confirmation code resets after losing the focus. It makes it impossible to copy and paste this information from another app. For example, I copy server address, paste it to OpenEUICC, switch to the notepad to copy activation code, switch back to OpenEUICC - and server address is gone! App version: v1.0.0-225-g895899d (latest commit as of now)
Contributor

i think, this is state restore problem

i think, this is state restore problem
Contributor

override fun onStart() {
super.onStart()
smdp.editText!!.setText(state.smdp)
matchingId.editText!!.setText(state.matchingId)
confirmationCode.editText!!.setText(state.confirmationCode)
imei.editText!!.setText(state.imei)
updateInputCompleteness()
}

https://gitea.angry.im/PeterCxy/OpenEUICC/src/commit/895899d03ab49c108b608673ad6dfadf8fbd1cc5/app-common/src/main/java/im/angry/openeuicc/ui/wizard/DownloadWizardDetailsFragment.kt#L55-L62
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PeterCxy/OpenEUICC#131
No description provided.