-
Notifications
You must be signed in to change notification settings - Fork 973
Bitwarden widget not shown on webpages, shows only on about pages #9437
Comments
I have no idea... |
Extensions have an associated tab collection, full of ids. This collection is consulted when switching tabs. @cezaraugusto, I would start searching there. |
there's something affecting all extensions, other pw managers show the icon but are unclickable |
this seems to be related to muon. I did a time-travel over more than 300 commits and issue appeared intermittent, but extension is always unclickable. I often get this in response:
|
from window_bindings.js
if arguments.length === 1 getInfo will be null which would cause the error for getInfo.populate in |
didn't make it in time for 0.17.x, sorry folks. Moved to 0.18.x. |
cc: @kspearrin We're going to move our target for Bitwarden to 0.18.x (milestones here; no date is assigned yet) |
@bsclifton Ok. Let me know if there is anything I can do to help. |
Leaving it in as is for now, just disabling it in the 0.17.x branch for that release. |
@jonathansampson Is this something I need to fix in the extension or..? |
@kspearrin Not sure at the moment. The only bitwarden call I see to I hope to identify the root cause here shortly. |
I'm looking at this again now, and am still a bit perplexed. The extension calls Following the execution further, we eventually get to the extensionState I'll keep this thread updated with any roaming ideas I may have along the way. |
@jonathansampson I think that I found the problem. So when you get browser actions here https://github.com/brave/browser-laptop/blob/master/app/renderer/components/navigation/browserAction.js#L58 everything is fine. The problem starts here https://github.com/brave/browser-laptop/blob/master/app/renderer/components/navigation/browserAction.js#L64 because we are replacing Fix that works for me: diff --git a/app/renderer/components/navigation/browserAction.js b/app/renderer/components/navigation/browserAction.js
index 042387c20..85ec5b97b 100644
--- a/app/renderer/components/navigation/browserAction.js
+++ b/app/renderer/components/navigation/browserAction.js
@@ -61,6 +61,8 @@ class BrowserAction extends React.Component {
if (tabAction) {
tabAction = tabAction.set('title', browserActions.get('title'))
tabAction = tabAction.set('base_path', browserActions.get('base_path'))
+ tabAction = tabAction.set('color', browserActions.get('color'))
+ tabAction = tabAction.set('path', browserActions.get('path'))
browserActions = tabAction
} |
@NejcZdovc That looks right. Might even be worth replacing the 4 calls to |
That was my initial though as well, but I wasn't sure if that would be ok, because I am not familiar with |
@NejcZdovc I took a quick look at the two, and they seem simple enough. It may be computationally better to merge than to make multiple get/set trips. The resulting object is still very small. |
what I would do then is |
@NejcZdovc Done. |
Test plan
#10197 (comment)
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
Bitwarden widget not shown on webpages, shows only on about pages
Platform (Win7, 8, 10? macOS? Linux distro?):
Windows 10 x64
Brave Version (revision SHA):
Brave 0.17.1
rev 84dbc8e
Muon 4.0.3
Steps to reproduce:
about:preferences#extensions
, wait till the widget is shownActual result:
Bitwarden widget not shown on webpages, shows only on about pages
Expected result:
Widget should be shown on all pages
Will the steps above reproduce in a fresh profile? If not what other info can be added?
Yes
Is this an issue in the currently released version?
No
Can this issue be consistently reproduced?
Yes
Extra QA steps:
1.
2.
3.
Screenshot if needed:
Any related issues:
cc: @kspearrin @bsclifton
The text was updated successfully, but these errors were encountered: