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
Activity
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 ;-)
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)