-
-
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
Unrevert "Create wmainmenubar controls in coreservices so they are available to controllers on startup" #4661
Conversation
…are available to controllers on startup""
|
||
m_uiControls.reserve(uiKeys.size()); | ||
for (const auto& key : uiKeys) { | ||
m_uiControls.emplace_back(std::make_unique<ControlPushButton>( |
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.
persist = true already fetches the last value from the config.
The default value is used as a default if there is not yet anything stored.
Line 65 in c7b4dbb
UserSettingsPointer pConfig = s_pUserConfig; |
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.
ah got it. Fixed.
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.
Hm, does that mean we need to pick the first-run defaults here? Seems so
Tested first-run case by moving ~/.mixxx aside, looks good |
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.
Thank you.
{ConfigKey(VINYL_PREF_KEY, "show_vinylcontrol"), true, false}, | ||
{ConfigKey("[PreviewDeck]", "show_previewdeck"), true, true}, | ||
{ConfigKey("[Library]", "show_coverart"), true, true}, | ||
{ConfigKey("[Master]", "maximize_library"), true, false}, |
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.
{ConfigKey("[Master]", "maximize_library"), true, false}, | |
{ConfigKey("[Master]", "maximize_library"), false, false}, |
This is not persistent with official skins anyway.
{ConfigKey("[Master]", "skin_settings"), false, false}, | ||
{ConfigKey("[Microphone]", "show_microphone"), true, true}, | ||
{ConfigKey(VINYL_PREF_KEY, "show_vinylcontrol"), true, false}, | ||
{ConfigKey("[PreviewDeck]", "show_previewdeck"), true, true}, |
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.
{ConfigKey("[PreviewDeck]", "show_previewdeck"), true, true}, | |
{ConfigKey("[PreviewDeck]", "show_previewdeck"), true, false}, |
hidden by default in all official skins.
Do we need to change that?
}; | ||
const std::vector<UIControlConfig> uiControls = { | ||
{ConfigKey("[Master]", "skin_settings"), false, false}, | ||
{ConfigKey("[Microphone]", "show_microphone"), true, true}, |
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.
{ConfigKey("[Microphone]", "show_microphone"), true, true}, | |
{ConfigKey("[Microphone]", "show_microphone"), true, false}, |
{ConfigKey("[PreviewDeck]", "show_previewdeck"), true, true}, | ||
{ConfigKey("[Library]", "show_coverart"), true, true}, | ||
{ConfigKey("[Master]", "maximize_library"), true, false}, | ||
{ConfigKey("[Samplers]", "show_samplers"), true, true}, |
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.
Hidden by default, shown in Deere.
Should we unify that to visible? (maybe) Edit Nope: Shade always shows the samplers play buttons in the decks row, 'show_samplers' would toggle the samplers row below the decks. Though other skins could show the
If so, do we need a menu bar button?
If we add this and 'Show Effect Rack' the View menu would be complete, wouldn't it?
Ha! A few minutes too late... |
Oh Sorry. It could be a nice GitHub feature to see if there are unpublished reviews ... |
I could have sel-requested a review, but I only announced it in Zulip. Anyway, we can discuss my review comments and based on the outcome I can open a follow-up PR. |
Reverts #4660,
Includes fix