Page MenuHomePhabricator

Fix VE Dialog shortcuts not working on some OS/Browser combos
Closed, InvalidPublicBUG REPORT

Description

The shortcuts added in T290262: Add keyboard shortcuts for VE template dialog do not seem to be working consistently for all users across different operating systems and browsers. Issues detected so far:

Chrome 97 on macOS (Monterey)

  • Cmd+Del not deleting parts of multi-part template content (checked on both wikitext and templates)
  • Cmd+Shift+ Up/Down is not moving the parts of multi-part template content (checked on both wikitext and templates)

Firefox 96 on Ubuntu Linux

  • Ctrl+Del not deleting parts of multi-part template content
  • Ctrl+Shift+ Up/Down is not moving the parts of multi-part template content

Event Timeline

ECohen_WMDE renamed this task from [Draft] VE Template Dialog shortcuts not working consistently to Fix VE Dialog shortcuts not working on some OS/Browser combos.Jan 19 2022, 11:25 AM

I tested this on FF 93.0 Ubuntu Linux. It seems to work for me. Might be a confusion what needs to be in focus / selected to make the shortcuts work. Let's try to figure that out first.

@WMDE-Fisch You're right! Just tested but only with keyboard, selecting with the spacebar instead of with the mouse, and both worked. Seems like that's the source of the problem. Will discuss with @Lena_WMDE

Note: This should be improved now. Changes in T300971: Replace special behavior for Ctrl+Up/Down/Delete hotkeys in template dialog should make sure, that the keyboard interactions work with the "selected" parts. So the same as the buttons do. We also added Cmd/Ctrl + Backspace as alias for the deletion.

@WMDE-Fisch Confirmed today in story time. I'm closing this as invalid since this was not really the bug that was happening and the problem has been resolved.