webmidi icon indicating copy to clipboard operation
webmidi copied to clipboard

Firefox not detecting devices

Open djipco opened this issue 7 months ago • 11 comments

Discussed in https://github.com/djipco/webmidi/discussions/484

On Desktop Firefox, WebMIDI.supported is true , but its unable to detect any devices . It can detect those devices on Chrome just fine.

This is a test page I made to demonstrate the problem:

If you open the above page in Desktop Firefox and you have MIDI device(s) connected, it will say "WebMIDI is supported" but not detect any devices. If you do the same on Chrome, it will detect the device.

Please let me know if the above link works differently for you than what I described above. Thanks in advance and thank you for maintaining this project, it's super helpful

System specs: Firefox (v137) on macOS (Sequoia 15.2 (24C101))

djipco avatar Apr 25 '25 14:04 djipco

hey, I am seeing this same error in Edge on windows ... with your test page and with my own app ... Chrome seems to work fine. I just upgraded to 3.1.12 from 3.0.20 ... both of these show the problem for me. --Andy

westonsoftware avatar Apr 26 '25 14:04 westonsoftware

I just upgraded to 3.1.12 from 3.0.20 ... both of these show the problem for me.

Was it working before the upgrade?

djipco avatar Apr 26 '25 16:04 djipco

It has been working at the old version for at least 6 months, it feels like something in Edge or windows changed. One of my users reported it broken this week so I tried your upgrade with no luck. Here is my site, the device list is on the left ... https://webmidicontroller.com

westonsoftware avatar Apr 26 '25 19:04 westonsoftware

It has been working at the old version for at least 6 months, it feels like something in Edge or windows changed. One of my users reported it broken this week so I tried your upgrade with no luck. Here is my site, the device list is on the left ... https://webmidicontroller.com

Hey, I downloaded Edge Beta Version ... and sure enough now this problem seems to be fixed in both versions. I didn't see a specific note for the fix.

westonsoftware avatar May 04 '25 20:05 westonsoftware

Thanks for letting me know. Did you try with Firefox Nightly?

djipco avatar May 04 '25 20:05 djipco

This keeps getting more bizarre for me. I ordered a Bluetooth MIDI controller (RockJam RJMK-25) to test Bluetooth support and it works on both Firefox and Chrome. The device gets detected and connects and receives input via MIDI.

Image Image

The original controller I used (MPK miniplay) continues to only work with Chrome and not on Firefox.

So to summarize:

  1. USB Akai controller works only on Chrome
  2. Bluetooth RockJam controller works on both Chrome and Firefox 🤷

Firefox 138.0.1 (aarch64) Chrome Version 135.0.7049.116 (Official Build) (arm64) both on Mac M1

udit99 avatar May 07 '25 10:05 udit99

filed a bug with Firefox here

udit99 avatar May 07 '25 11:05 udit99

It is very strange indeed. Let's see what the Firefox people say. On my end, on both Firefox 137 and 138 (Mac), it seems to be working fine.

P.S. You should probably report the problem on Firefox's Bugzilla.

djipco avatar May 07 '25 12:05 djipco

Looks like Webcompat has closed the issue as they can't reproduce without the specific device (webcompat/web-bugs#155535)

coder0107git avatar May 18 '25 04:05 coder0107git

Did you file a bug directly with the Firefox team as suggested?

djipco avatar May 19 '25 23:05 djipco

Did you file a bug directly with the Firefox team as suggested?

I'm just keeping a tab on this issue, I'm not actually experiencing it. I don't think @udit99 has reported the bug to the Firefox team yet but I haven't looked too deeply so I can't say authoritatively.

coder0107git avatar May 20 '25 04:05 coder0107git

This seems to have been fixed by the Firefox team (just tried in FF v143.0).

djipco avatar Sep 28 '25 19:09 djipco