Hi, I'm a USB device developer. My gamepad uses WebUSB and I've been very happy with the feature and how it works in Chromium.My one nitpick is that there is no way to disable the device pop-up. Also, the toast that appears does not auto-dismiss. As an example, when you connect the controller, this toast pops up and shows over everything. If me or customers are running a game and they connect the gamepad, now this toast is drawn on the screen with no way to dismiss it unless they alt-tab.I dont know where to begin to request a change for this, but it would be ideal if we could disable this notification in Chrome without disabling WebUSB altogether.I propose the following changes, any of which would be an acceptable solution, in order of least complex to implement up to most complex--
- Add a timeout for the toast. 5 seconds. The notification auto-dismisses.
- Add an option to disable WebUSB device notifications
- Add a per-device notification disable. In the toast a button "Don't show again"
- Change the notification to use the OS notification channels instead of its own toast. This way it respects the OS notification status (snooze notifications, ignore in game mode, ignore in do not disturb etc, or disable entirely.
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
Hi all, kindly bumping this issue once more.
These notifications really ought to go through the typical notifications channel or auto-dismiss.
This issue extends to Electron apps, where they are causing this pop-up even when in all my browsers I have the "Detect USB devices" flag disabled.
Thank you
I haven't noticed this issue being triggered by Electron apps but if you are seeing it please report it to the application or the Electron project. They shouldn't be enabling the WebUSB device detection code.
I wanted to follow up on this, as now this is being integrated into system-level components such as the widgets in Windows 11 (which are enabled, with no way to disable)When Chrome is open, two individual popups are created that are non-native, aren't accessible with most screen reader accessibility tools, and do not auto-dismiss. This, in my estimation, is a Chromium issue primarily, not a developer issue. Asking users to file bugs for something that is likely not on the radar or test plans of their dev teams is not a feasible solution. Having this fixed in Chromium would roll this change out to any tools using Chromium web view, including Windows 11 widgets.I've created a Windows feedback submission, but as you could imagine, this is like throwing a pebble into a lake and the chance a human sees it is small. https://aka.ms/AAyqi9zI think that the WebUSB device detection could be a genuinely useful feature; in its current state, it's simply an annoyance at best, and a privacy issue/accessibility issue at worst (System components and other apps having this enabled by default seemingly, without implicit enabling on the developer's part)