Closed Bug 2040764 Opened 22 days ago Closed 13 days ago

After a cold-start the menu shows 'Try Now' to enable the VPN before showing 'Turn on'

Categories

(Firefox for Android :: Privacy, defect)

All
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 2041833

People

(Reporter: jonalmeida, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid] [group2])

Attachments

(1 file)

Steps to reproduce

  1. Have an account and VPN authorized on that device.
  2. Ensure the VPN can turn on immediately.
  3. Swipe the app away (wait a few seconds to ensure it is killed).
  4. Re-open the app and immediately try to turn the VPN on.

Expected behaviour

  • The VPN turns on at step 4.

Actual behaviour

  • The VPN shows 'Try now' initially.
  • Clicking it will show 'Turn on'
  • Clicking it again will actually turn on the VPN.

Device information

  • Firefox version: 153.0a1
  • Android device model: All devices
  • Android OS version: All versions

Any additional information?

  • Unclear what is causing the race, more investigation or testing would help.
Whiteboard: [fxdroid] [group2]

This is a non-blocking bug that has a clear workaround.

Severity: -- → S3

From a quick test, this seems like the right solution to rely on: we don't always get a onServiceStateChanged notification, so we should always ask the engine after we're done initializing - now we are always in the right state.

This may be solved with bug 2040415.

See Also: → 2040415
See Also: → 2041833
Summary: Sometimes the first click to enable the VPN doesn't do anything → After a cold-start the menu shows 'Try Now' to enable the VPN before showing 'Turn on'

Should be fixed with bug 2041833 - the patches there cover this bug unintentionally.

Status: NEW → RESOLVED
Closed: 13 days ago
Duplicate of bug: 2041833
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: