fix:3514: Avoid switching output country when Tor is running.
Description
I found a bug in current main branch:
- Activate IpScrambling
- Go to Manage Ipscrambling screen, and change out put country
- Then the Device can't resolve DNS, and any web request fail.
I didn't find root cause of this bug. Most likely it is related to the recent update of Orbot (but I'm surprised to observed it just now, I did another fix arount the select country feature at that occasion...). As a quick workaround, I blocked the change of exit country while Tor is ON, and add a little tooltip to inform the user about it.
@aude is it ok for you ?
Screenshots
Technical details
Tests
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/3514
10 commandments of code review
Summary by CodeRabbit
- New Features
- Added a tooltip guiding users to disable “Hide my real IP address” before changing location.
- Updated the location label to include an asterisk indicator.
- Location selector now becomes enabled only when IP masking is turned off.
- Added/updated translations for the tooltip and label across English, German, Spanish, French, Italian, Finnish, and Dutch.
Edited by CodeRabbitAI