-
Notifications
You must be signed in to change notification settings - Fork 54
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
Keyboard shortcuts on popup not working #359
Comments
Hi, I don't think you have to do something special - it sounds like the focus is not in the popup, or at least your browser somehow thinks that the focus is on the page rather than inside the popup, and that's why it sends your hotkeys to the chromium rather than to the popup... Good point about closing the popup using the keyboard, Escape works in FF but not in Chromium apparently 😅 |
I've just tried to open the popup manually instead of using the keyboard shortcut to open it, but the behavior stays the same. Do you say any way for me to debug it further @maximbaz ? |
It's a tricky one 🤔 How about arrows "Up" or "Down", do they scroll items inside popup or also scroll page itself? It's a stretch, but maybe you have some browser extension, that preserves focus? In other words, does it reproduce in a fresh profile? |
"Up" and "Down" work, the popup opens with the focus on the input field. I've tried on a blank profile and I have the same problem. I'm using the browser extension and the native host provided by arch. browserpass 3.1.0-2 |
What desktop environment / window manager do you use? Also, could you try if you have the same issue in FF ? |
I'm using awesomewm. I tried the same in FF and I have the same problem. Maybe I'm not using the shortcuts right, I don't know. To clarify my problem, I'm going to detail the steps below:
Thank you for your help @maximbaz . |
Your steps look good, the only possible idea I currently have is that this is somehow related to awesomewm, that it steals the focus from popup 🤔 Do you have a chance to try in sway or something else? |
I've tried on openbox with Xephyr, and I have the same problem. I really don't have the impression that the focus is being stolen because the up/down arrows work and "enter" works as well. Maybe I should try and install the native host from another source? Or install the browser extension from the Chrome Web Store instead of the arch repos? |
Native host only runs when there's a file-based operation (like to decrypt files), it doesn't control visual aspects like shortcuts. I think the only option really is for you (or whoever else is able to reproduce the issue) to enable debugger, and see what's going on around this line below when you press e.g. Ctrl+C browserpass-extension/src/popup/interface.js Line 301 in aa522ed
|
Hi,
I'm on archlinux, with Chromium 129.0.6668.100-1
After opening the popup, then I can't get the following shortcuts to work:
Do I have to do something special for the shortcuts to work?
Apart from that, I can't find a way to close the popup by using the keyboard.
The text was updated successfully, but these errors were encountered: