Re: [chromium-discuss] WebUSB device notifications change request

11 views
Skip to first unread message

Alex Russell

unread,
Dec 22, 2024, 8:07:29 PM12/22/24
to Mitch Cairns, Jeffrey Yasskin, Vincent Scheib, Reilly Grant, Chromium-discuss, fugu-dev
Hey Mitch,

Thanks for the helpful feedback. Adding some folks to the thread that might be able to discuss.

Best,

Alex

On Mon, Dec 23, 2024, 1:42 AM Mitch Cairns <mitchel...@gmail.com> wrote:
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
  1. Add a timeout for the toast. 5 seconds. The notification auto-dismisses.
  2. Add an option to disable WebUSB device notifications 
  3. Add a per-device notification disable. In the toast a button "Don't show again"
  4. 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

Vincent Scheib

unread,
Dec 23, 2024, 6:30:46 PM12/23/24
to Alex Russell, DeviceDev, Mitch Cairns, Jeffrey Yasskin, Reilly Grant, Chromium-discuss, fugu-dev
This is a device-dev@chromium topic.  Most are out for the holidays.  It's a good consideration- though people working in this area I know of are likely saturated with higher priority work, so I don't expect work done soon here.

Vincent Scheib

unread,
Dec 23, 2024, 6:32:53 PM12/23/24
to Alex Russell, DeviceDev, Mitch Cairns, Jeffrey Yasskin, Reilly Grant, fugu-dev
-chromium-discuss which doesn't exist

Reilly Grant

unread,
Jul 7, 2025, 3:35:35 PMJul 7
to Mitch Cairns, Vincent Scheib, Alex Russell, DeviceDev, Jeffrey Yasskin, fugu-dev
crbug.com/360163256 is the canonical issue for disabling these notifications. crbug.com/40267651 is the canonical issue for switching to the native notification platform so that these can be managed more easily. 

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.
Reilly Grant | Software Engineer | rei...@chromium.org | Google Chrome


On Fri, Jul 4, 2025 at 12:26 PM Mitch Cairns <mitchel...@gmail.com> wrote:

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

Reply all
Reply to author
Forward
0 new messages