-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add items to playlist from files menu when holding ctrl #822
feat: add items to playlist from files menu when holding ctrl #822
Conversation
Ctrl has been used. Could the dir be append in playlist in uosc? I never tried that. |
Looks like the readme wasn't updated in 6dfef3d |
I think shift would be a better modifier here. And other menus could probably use it for more appropriate things as well. It was a mistake to hardcode shift handling into Menu :/ So, we need to remove the click/enter shift handling from Menu, and leaving it for individual menu openers (they can set their menu as keep_open, and close manually when shift is not present), which on our side would be only the main menu. |
It is complex. IMO, |
Also I think this feature ideally should be implement after #475 (comment) . |
True, track menus could use shift too. Still, it shouldn't be hardcoded into Menu. The biggest issue I see at the moment is that 3rd party scripts have no access to the modifiers yet, so they can't implement manual closing like this. Are there any scripts that heavily rely on current shift behavior? |
I actually think shift as it behaves right now might be useful in addition to the ctrl introduced here. |
Oh wait, I assumed the file menu already won't close when adding to playlist. I wouldn't want adding to playlist shortcut to close the menu. |
Sorry for the delay on this. The menu now stays open when appending to the playlist. |
The more I think about it, the more I want this to be on the shift modifier. It makes way more sense there, and current shift behavior is pointless here. In main menu, shift activates without closing, and this would add to playlist without closing. Fits way better imo. But I realize that will be a bit more work as we need to move shift handling from menu into individual menu creators. Or I can just merge this as is, and move it to shift some time later. Up to you. |
I expect to be pretty busy over the next month or so, so I think merging as is and adjusting later is the way to go. |
All right. But swap the alt<->ctrl modifiers so that directory activation remains on ctrl. |
You want me to mostly undo 6dfef3d? I can do that tomorrow. |
Oh, forgot about that :) |
Closes #821