focus-android icon indicating copy to clipboard operation
focus-android copied to clipboard

"Trackers blocked" status is changed from OFF to ON, for shortcuts, after the browser is closed

Open sflorean opened this issue 5 years ago • 10 comments

Steps to reproduce

  1. Open a webpage and turn off tracking protection.
  2. Select 'Add to Home screen' from the 3 dots menu.
  3. Close the browser.
  4. Launch the shortcut.

Expected behavior

The webpage is loaded, with TP still OFF.

Actual behavior

The webpage is loaded, with TP ON.

  • Not reproducible on Focus - Play Store.

Device information

  • Android device: Samsung Note 10(Android 11), LG G7 Fit (Android 8.1)
  • Focus version: dev build #1186.0.1- 20210310152336

sflorean avatar Mar 18 '21 16:03 sflorean

This may be caused by the missing GV API to load private tracking protection APIs on startup.

pocmo avatar Mar 19 '21 16:03 pocmo

I would like to work on this ticket

ionutbedregeanu avatar Jun 04 '21 06:06 ionutbedregeanu

After some debugging I noticed that tracking exception list is always empty after addException and saveExceptionList, so for that I logged a bug on Gecko board

ionutbedregeanu avatar Jun 07 '21 09:06 ionutbedregeanu

Thanks for taking a look @ionutbedregeanu, I think the issue is related to what @pocmo mentioned, as GeckoView at the moment doesn't allow to add exceptions for private tabs, this will be covered a part of the work on https://github.com/mozilla-mobile/android-components/pull/10316 , https://github.com/mozilla-mobile/focus-android/pull/4899 when these Gecko View patches land.

Amejia481 avatar Jun 07 '21 13:06 Amejia481

@Amejia481, Are the GV and AC changes ready?

amedyne avatar Jul 12 '21 13:07 amedyne

It was partially covered on https://github.com/mozilla-mobile/focus-android/pull/4899, we noticed that there is a missing part of GV, but they are going to take some time on implementing it, we are trying to do a workaround on to cover it https://github.com/mozilla-mobile/focus-android/pull/4977.

Amejia481 avatar Jul 12 '21 14:07 Amejia481

The GeckoView API landed so this should be ready to implement now.

agi avatar Oct 28 '21 16:10 agi

We are covering this work on https://github.com/mozilla-mobile/focus-android/pull/5729 :)

Amejia481 avatar Oct 28 '21 16:10 Amejia481

For QA: Is this issue still reproducible after #5729? Thank you!

mcarare avatar Dec 08 '21 13:12 mcarare

We have #5245 covering this issue. We can close this one.

lobontiumira avatar Dec 08 '21 14:12 lobontiumira