WebExtension accelerators should take precedence over web content accelerators
- Epiphany version (from About Web in the main menu): 46.alpha-14-gf63da2fc+
- WebKitGTK version (from About Web -> Troubleshooting -> Debugging Information): 2.43.4
- Distributor (Linux operating system, Flathub, Epiphany Tech Preview, etc.): Tech Preview
In !1386 (comment 2000991) Patrick pointed out that accelerators registered by WebExtensions should take precedence over accelerators registered by web content. To do that, set_accels_for_action()
in commands.c will need to parse the accelerator with gtk_accelerator_parse() to get the keycode and modifier and store them into a list in EphyShell (or tell EphyShell to do so), and then EphyWindow will need to check that list in should_web_view_receive_key_press_event()
.