question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shields is disabled on sites when it's opened in a new background tab

See original GitHub issue

Description

Shields is disabled on sites when it’s opened in a new background tab

Steps to Reproduce

  1. Open any GH issue
  2. Ctrl+click on any links to open in new tab
  3. Switch to the newly opened tabs in background, shields look disabled, can’t click on it but shows blocked count
  4. Reload page fixes it

Actual result:

Screenshot-20210611050225-214x103

Expected result:

Shields should never be disabled unless user disables it

Reproduces how often:

Easy

Brave version (brave://version info)

Brave 1.25.70 Chromium: 91.0.4472.77 (Official Build) (64-bit)
Revision 1cecd5c8a856bc2a5adda436e7b84d8d21b339b6-refs/branch-heads/4472@{#1246}
OS Linux

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Maybe not checked
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? NA
  • Does the issue resolve itself when disabling Brave Rewards? NA
  • Is the issue reproducible on the latest version of Chrome? NA

Miscellaneous Information:

@iefremov also mentioned he reproduced it but not sure about steps

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
srirambvcommented, Jun 11, 2021

Console logs the following error when a tab is open in background.

[1972:1972:0611/082452.532794:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data. Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1972:1972:0611/082452.533031:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Tabs cannot be edited right now (user may be dragging a tab).", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/_generated_background_page.html (0)

Trying to open dev tools causes shields to be come active again.

1reaction
oviniciusfeitosacommented, May 2, 2022

Same problem here.

Ubuntu 22.04
Brave Browser 101.1.38.109 
Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I customize my New Tab Page? - Brave Help Center
To begin customizing your New Tab Page, click the Customize icon on ... Toggles the background images displayed on the New Tab Page...
Read more >
Chrome extension - open new tab when browser opened in ...
When Chrome is "hidden" (not closed completely, but kinda works in background, when you click red bubble with a cross in the left...
Read more >
Remove unwanted ads, pop-ups and malware - Android
On your Android phone or tablet, open the Chrome app Chrome · Go to a web page. · To the right of the...
Read more >
Is Google Tag Manager Preview Mode Not Working? 22 Ways ...
Is Google Tag Manager Preview mode not working? Here are 22 ways to solve this problem and continue working on your GTM implementation....
Read more >
How to create and save Chrome tab groups - The Verge
After your browser relaunches, right-click on your tab group label. You'll now see a toggle called Save Group. Click on the toggle to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found