Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Managers Are Confused by Cogent Webapp #1422

Open
DapperMongoose opened this issue Jan 7, 2025 · 4 comments
Open

Password Managers Are Confused by Cogent Webapp #1422

DapperMongoose opened this issue Jan 7, 2025 · 4 comments
Assignees
Labels
bug Something isn't working correctly

Comments

@DapperMongoose
Copy link

Describe the bug

When I selected a text box on the Cogent documents page Bitwarden attempted to display its dialogue. However it did not display in the correct location, instead appearing in the top left corner. Additionally it became stuck in the corner after I took the screenshot. Unclear if the second part is a Cogent bug or a browser/DE/Screenshot Tool issue.

Browser: Firefox 133.0.3 (64-bit)
OS: Pop!_OS
Screenshot from 2025-01-06 21-10-43

How to reproduce

Install BitWarden
Click one of the input boxes on https://www.cogentcore.org/core/widgets/containers/context-menus

I had a couple of cases where it didn't appear and multiple cases where it did. Try a couple times.

Example code

No response

Relevant output

No response

Platform

Linux

@DapperMongoose DapperMongoose added the bug Something isn't working correctly label Jan 7, 2025
@github-project-automation github-project-automation bot moved this to Todo in Bugs Jan 7, 2025
@DapperMongoose
Copy link
Author

I was also seeing the add-on pop up when the texteditor elements were selected on this page.

@kkoreilly
Copy link
Member

Thank you for reporting this. I also use bitwarden, but I cannot reproduce this issue. I can see why it would happen though. We use a hidden HTML <input> element to capture input and trigger appropriate virtual keyboards when a user focuses on a text field or text editor. We set the type of the input element based on the element, so it should actually correctly detect when you are using a password input, but there is no current mechanism for it to go in the right place (although we could theoretically implement that at some point).

What happens when you unlock your account in that popup? Does it still show up? Does it show suggestions? Can you try the password text field on the text fields page? Thank you!

@kkoreilly kkoreilly self-assigned this Jan 8, 2025
@DapperMongoose
Copy link
Author

DapperMongoose commented Jan 8, 2025

When logged in I do not see it coming up on the context menus field.

I DO see the bottom corner of a menu with the "Manage Passwords" button on it come up on the password field on the text fields page, but only after I press backspace or enter text and then press backspace.

I couldn't get a screenshot of the latter, it appears that the menu is camera shy.

I wonder if the reason it's not visible when logged in is because the menu is actually anchored up off screen so it needs a longer box for it to peek down into view?

@kkoreilly
Copy link
Member

Thank you for that information. Unfortunately bitwarden is down for me now, which is causing problems with trying to debug this. I will experiment with varied styling of the input element after it is back up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
Status: Todo
Development

No branches or pull requests

2 participants