zaneschepke / wgtunnel

An alternative Android client app for WireGuard VPN
https://zaneschepke.com/wgtunnel-docs
MIT License
788 stars 43 forks source link

[BUG] - Create from scratch - autorotate clears all input fields #212

Closed ghost closed 3 months ago

ghost commented 4 months ago

Describe the bug

I'm trying to set up a tunnel. Using the painful method (Create from scratch).

So basically this takes quite a while to fill out. You have to type stuff, copy paste stuff, perhaps switch between apps so you can copy from/to a messenger.

Suddenly all input fields are empty. :sweat: All those inputs lost... like tears in the rain...

First time I didn't realize what happened and I started over... second time again... third time... I finally realize this happens when the display rotates. Holding the phone slightly wrong and bam, everything gone. And so I turn off auto-rotate...

Smartphone (please complete the following information):

Expected behavior

The app should not discard inputs so easily.

This issue also occurs for saved tunnels. Display rotate reverts to last saved state discarding all not-yet-saved edits.

zaneschepke commented 4 months ago

Hello! So sorry for this issue. I know what the problem is. I'll have a fix for this is the next version.