You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Foregrounded browser window without focus isn't detected as active, so not served ads
Steps to Reproduce
new profile
launch Brave using --enable-logging=stderr --vmodule="*/variations/*"=6,"*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=9,"*/brave_user_model/*"=6 --brave-ads-staging --brave-ads-debug --rewards=staging=true,reconcile-interval=3
open a new tab
click on Start using Rewards
open a 4+ tabs
ensure the console window has focus (not the browser)
wait a while
resume activity
look for ad notification / look in console log
Actual result:
No ad notification displays, due to:
[5938:259:0624/091648.169341:VERBOSE2:permission_rule_util.cc(23)] Browser window is not active [5938:259:0624/091648.169413:VERBOSE1:ad_notification_serving.cc(90)] Ad notification not served: Not allowed due to permission rules
You have to:
wait for a new cycle
have the browser window focused at the time of delivery
Expected result:
Upon refocusing the browser window after the appropriate conditions/wait time has passed, you should get served the ad
@stephendonner has confirmed this issue only occurs if launching the browser from the command line. Closing as won't fix as the browser requires focus.
Description
Foregrounded browser window without focus isn't detected as active, so not served ads
Steps to Reproduce
--enable-logging=stderr --vmodule="*/variations/*"=6,"*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=9,"*/brave_user_model/*"=6 --brave-ads-staging --brave-ads-debug --rewards=staging=true,reconcile-interval=3
Start using Rewards
Actual result:
No ad notification displays, due to:
[5938:259:0624/091648.169341:VERBOSE2:permission_rule_util.cc(23)] Browser window is not active [5938:259:0624/091648.169413:VERBOSE1:ad_notification_serving.cc(90)] Ad notification not served: Not allowed due to permission rules
You have to:
Expected result:
Upon refocusing the browser window after the appropriate conditions/wait time has passed, you should get served the ad
Reproduces how often:
100%
Brave version (brave://version info)
/cc @tmancey @btlechowski
The text was updated successfully, but these errors were encountered: