-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add control for showing a deck's track menu #10825
Conversation
5204422
to
c2eb785
Compare
238b9d8
to
2b0c853
Compare
This works nicely now. |
This is still in draft state, is this still the case? Maybe the surprising behavior happens because of every WTrackProperty is connected to the new CO. I have not debugged it, but I can imagine that Mixxx tries to open many menus at once. |
This is a draft because it's still a proposal. Please take a look at the code first. There are no surprises, it's just working.
This way there can be only one track menu per deck at a time:
|
This PR is marked as stale because it has been open 90 days with no activity. |
works great btw. I have now mapped it to deck Load button (press+hold) + press Trax/Browse. My main use cases are still the Search Related menu and Remove from disk (5 button presses/turns to delete a track vs fiddling with the trackpad), and deck Properties which I can then easily navigate with the keyboard. |
This PR is marked as stale because it has been open 90 days with no activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry that this is now conflicting. I have added some comments.
I'm running into the same issue as with I noticed this with my personal branch but I didn't notice the warnings. Therefore: back to the drawing board. I'll try moving the ControlPushButton creation to |
dd7fb23
to
ec637fa
Compare
Overhauled and rebased to avoid the CO issue I encountered with the stars COs. Works great now! As usual, the last commit is for testing purposes only ; ) |
ec637fa
to
ea48c37
Compare
[ChannelN],show_track_menu If show is requested all other track menus are closed. Since this is not triggered by a mouse click there is no base point for the menu to be displayed. The center of the first WTrackProperty widget is used instead, even if it's invisible.
ea48c37
to
de05b71
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works and locks good. Please remove the test commit than I will merge.
de05b71
to
67a3a95
Compare
Done. Great, I can skip more and more commits when rebasing my personal branch onto main : ) |
Thank you. |
allows toggling a deck's track menu with controllers via
deck, show_track_menu
(read/write).For now,
deck
is restricted to main decks (group name[ChannelN]
)This is an adaption of
[Library], show_track_menu
.While the library menu requires a
WTrackTableView
instance, the deck control requires at least oneWTrackProperty
for each deck this control should be used with.The tricky part was to allow only one open track menu per deck at a time. Check the comments for details.
For now, this is just a proposal. If there is interest to merge this I'm happy to receive reviews.