Skip to content
Snippets Groups Projects

advanced controls

This slightly changes the existing click behavior and adds keyboard control.

Changes:

  • Ctrl+mouse2 will now automatically start playing the first playlist item.
  • Double click on directory will now replace the playlist with that and start playing instead of expand/collapse.
  • Double click on file will now replace the playlist with that and start playing instead of doing nothing.
  • Ctrl+Shift+mouse2 is like Shift+mouse2, but will additionally start playing the first playlist item.

Keyboard controls:

  • Left/Right: move along hierarchy
  • Return: Like mouse2, but the effect of Ctrl is reversed.

Note that I simply removed (commented) some code that seemd to break keyboard focus. It should probably be fixed instead.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Thanks for this patch, nice work! I like the additional options for mouse clicks. Also the keyboard navigation is really cool.

    I felt that some of the keybindings were a bit counter-intuitive, so I reworked some of them to keep consistency. Now essentially double-click and return behave the same way, and can be used to quickly play some files (replace & play). Middle mouse is similar but it appends by default, without playing. In all cases, shift can be used to create a new playlist before adding. I updated the help text as well - hopefully I didn't mess up any of the keys ;-)

  • username-removed-133295 Status changed to merged

    Status changed to merged

  • thanks for merging!

    Now essentially double-click and return behave the same way

    This also had been my initial idea. However, I had the feeling that using doubleclick with modifiers is strange because it sometimes collides with single click (e.g. single-click one item, hold shift and double click another item)

  • That's a good point indeed. It was weird to use double-click with the ctrl modifier, so I dropped that keybinding.

    Now it's still possible to multi-select and then double-click on the last item, which will replace the current playlist with all the selected items and start playing.

Please register or sign in to reply
Loading