Potential bug: usb.requestDevice() not working
-
@DoctorG but it's neeeeded. Use your ambassadorial super powers and sneak in some kind of priority flag please can't configure my keyboard in Vivaldi anymore, which used to work just fine before. Ach und Moin! btw.
-
There's a workaround! (At least for VIA.)
EDIT: Works for both Linux [Fedora 40; 6.8.3381.46 and [...].48 (Stable channel) (64-bit)] and Windows 11 [6.8.3381.48 (Stable channel) (64-bit)]
Install it as an app and then it does ask for USB devices - from https://help.vivaldi.com/desktop/miscellaneous/progressive-web-apps/ :
Installing websites that don’t support running as a PWA
In case you don’t see the option to install the website in the context menu, the website doesn’t support running as a PWA. In that case, while the site is open in the active tab:
Choose Create a shortcut from the context menu instead.
[While the site is open in the active tab, right-click on the tab on the Tab Bar.]Tick the box for Open as Window.
Click Create.
-
@Gregregorovich Thanks for that ! Tried with ATK Hub Beta for my mouse and it works
But the goal was for me to not have an app installed ... Still nice to have a workaround tho. Hopefully devs will soon fix that. I really wish I wouldn't have to use tricks or Edge to configure my mouse (and webapps are getting much more common and will continue to be, so it would be nice for Vivaldi to work as intended)
-
@LightBeam What's odd is that QMK VIA doesn't support running as a Progressive Web App, so it's installed as whatever a "shortcut" is, which is presumably some sort of cut-down version of the full browser which somehow doesn't block the HID request.
-
@Gregregorovich Yes, if having such webpage as PWA the popup asking for the connected device appears, the issue is caused by Vivaldi UI.
-
This bug got a fix in 6.10 Snapshot.
⇒ https://vivaldi.com/blog/desktop/late-night-extra-vivaldi-browser-snapshot-3458-19/
Works now. -
Hi, I'm still experiencing this issue for my mouse ( https://xpanel.finalmouse.com ) - I need to use a different browser as a workaround at the moment (eg, chrome, edge). I do notice that it has now been fixed for Wooting keyboards though.
-
@newuser83 Which Vivaldi version?
Which issue? What fails?
Please describe.
As i see with 6.9.3447.51 Stable no popup to select device appears.
But that issue was fixed in 6.10.3468.4 Snapshot. -
Thanks for the update @DoctorG , I didn't check back for a while because I had almost given up.
I just tried with the latest snapshot (6.10.3490.4). My basic example that started this thread works for me.However in the actual application I was using this there still is a problem, because I also use
navigator.serial.requestPort
there which no longer seems to work.Before I started this thread (not sure which vivaldi version that was) both the serial and usb apis were working fine.
Then something broke and
navigator.usb.requestDevice
stopped working whilenavigator.serial.requestPort
still worked. This is still the case in vivaldi 6.9.3447.54.In 6.10.3490.4 it seems to be the opposite problem.
navigator.usb.requestDevice
works whilenavigator.serial.requestPort
does not.I don't know if this is just a coincidence or if the bugs are related somehow, but from my experience it looks related
-
@itienhoven said in Potential bug: usb.requestDevice() not working:
However in the actual application I was using this there still is a problem, because I also use navigator.serial.requestPort there which no longer seems to work.
Please report issue to Vivaldi bug tracker.
Do not forget to add example code or a test page.
Once that is done, share the bug number (beginning with VB-) you got by bug report mail.
Thanks for helping us making Vivaldi better.