Skip to content

VLC 4: Keyboard input confusion between dialogs and main window

Sometimes keyboard inputs intended for a dialog that has focus actually affects the main interface too. One easy to reproduce case for this I found is when selecting items in the Music Track list to add them to a playlist.

Steps to reproduce:

  1. Switch to MuiscTracks
  2. Select a few tracks
  3. Right click on the selection
  4. Select Add to playlist
  5. Enter text in the New Playlist field
  6. Hit enter (do not click OK)

Expected result

The dialog closes and a new playlist is created and the selected tracks are added to that playlist.

Actual result

Dialog closes, a new playlist is created, the selected tracks are added to it but in addition the main interface interprets the enter key press. It proceeds therefore to add the tracks to the playqeue and starts playing them.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information