No input (including kbd) with Bluetooth-connected Xbox One controller

I’ve upgraded my RetroArch from 1.8 to 1.15 using the stable Ubuntu PPA and now when I start it, there’s no keyboard or joypad input response in the main menu. Mouse works but nothing else. I’ve tried:

  1. updating core info file, assets, controller profiles and databases
  2. removing .config/retroarch/retroarch.cfg and starting from scratch

but still the same lack of input.

The jstest-gtk program shows the Xbox controller working fine.

It seems that if I run RetroArch with the Xbox controller connected via Bluetooth, neither keyboard input nor controller input works but if I disconnect the controller, keyboard works again.

What should I do?