add hotkey to edit track comment in deck, take 2 #15536
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a retake of #15521 which has accidentally been merged prematurely
Here's yet another small mod I find very helpful for preparing/editing tracks while using only the keyboard (+ controller).
If you use a skin that has a comment widget in decks (WTrackProperty), press
Alt+[deck number] to open the property editor.So the workflow is simply this, no mouse/trackpad involved:
Alt+1for deck 1Plus these mods:
allows to add tag-like comments to the first line while keeping stuff like lyrics or release info out of sight
(in the library only the first line is displayed anyway)
\nallows to push above mentioned extra info down
The hotkey currently works via QAction in each WTrackProperty dsiplaying the
comment, as that was the quickest way for me to get this feature.It is failproof in the sense that there should be no issue with even multiple comment labels visible for one deck.
I'd like to share it, though I am not 100% sure it can/should be integrated as is, simply because the hotkey can not be customized (didn't check if it would overwrite keys from *.kbd.cfg or would be overwritten by such).
The alternative to QAction would be a ControlProxy like we have for the track menu control. It's more elaborate, but allows to customize the hotkey via Custom.kbd.cfg