PortKnocker icon indicating copy to clipboard operation
PortKnocker copied to clipboard

Dialog disappearance may reduce user experience

Open Chou95 opened this issue 3 years ago • 0 comments

Hi, dear developers!

#General information my device: android 10

There exist some dialog disappearance after screen rotation. I think that screen rotation shouldn't do damange to the UI state. The re-created UI should be the same as before rotation, Right?

I think it is not hard to save the UI state of these dialogs by saving the return value of dialog.isShowing(). In this way, you can decide whether to re-open these dialogs when the phone rotation and UI recreation occur. This may improve the user experience, do you think so?

#Snapshot details

before rotation

NO1-BEFORE

after rotation

NO1-AFTER

Chou95 avatar Jan 28 '23 09:01 Chou95