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: simplify waveform combobox #13220
base: main
Are you sure you want to change the base?
feat: simplify waveform combobox #13220
Conversation
Are we planning to remove Joerg replied
Yes, we had the discussion already, this is why it got implemented. The old GLSL waveforms had this (but looking different), and to deprecated them requires feature-equality. |
(not sure why you edited my message?) |
I have merged the |
5c47786
to
abd6302
Compare
Right, I think this is pretty much ready. The only outstanding question I have is, should I hide the |
I did not edit it intentional - sorry - I just intended to reply |
abd6302
to
0907c2e
Compare
this is a great quality-of-life fix! thank you |
This is nice. |
8077ed0
to
10c4e51
Compare
I've updated the UI and behaviour according to what #13226 mentioned. @m0dB I have already added the Code is a bit dirty in some places, especially in the factory, but hopefully with your help, we can make it good enough. Here is the demo: Kooha-2024-05-12-16-58-50.mp4 |
264bb21
to
1352d7b
Compare
@ywwg I have added full coverage on the waveform type upgrade. Please let me know if I have covered your usecase correctly. Also removed the VSync if not in dev mode |
f6bd919
to
9536d13
Compare
I have created a PR on top of this PR (I hope that works, git wise) to get rid of all the code duplication in the allshader waveformwidget, reducing it to a single one + some cleanup of waveformwidgetfactory. |
allshader::WaveformRendererSignalBase::Options expectedOptions; | ||
}; | ||
|
||
QList<test_case> testCases = { |
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.
Spec available here
that should work, yes |
…some cleanup in waveformwidgetfactory
I have hidden the acceleration checkbox on Mac. Note that it will still be show if running with @m0dB could you confirm it hides properly? |
Not entirely, the combobox is a bit smaller than the other full-width comboboxes. That said, I created acolombier#3 and checked that the non-accelerated waveform types work correctly on macOS, so we might as well enable them? Not very useful on macOS I guess, but at least we keep the UI and the behaviour identical across platforms. We don't seem to have stacked and simple software waveform types though. I guess they should be disabled in the combobox when non-accelerated is selected? |
Which backend were you using? All-shader? Otherwise, it is expected it shows it.
As our Mac developer, I'll follow your call the matter! :)
I went the other way around and made the combobox leading the decision with I think is a better UX: if you selected |
@ Mixxx's Core Team could we look at merging that PR ASAP, and potentially to a thorough retroactive review? I agree to address comments and concerns in one or more follow up PRs, but this would help me and @m0dB to stop that PR to grow out of proportion |
sorry, which PR? |
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, mostly nitpicks to be addressed some other time, only thing that needs work is the upgrade code which currently looks like a bug to me.
…all qt(old qglwidget based), gl and glsl waveform widgets
5e12b2c
to
af24756
Compare
I think we got everything in order now |
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.
LGTM. Any1 else wanting to take a look (just in case I missed any grave errors, not for trivial stuff like I nitpicked in this round)?
I didn't look into the ui file in detail, just want to share a few thoughts on the UI/UX:
I'll check if I can provide some demo commits tomorrow. |
Thanks for your input @ronso0 |
Sure. |
This addresses
#6428#13226This current uses
RGB
only and theRGB L/R
is unused.By default, it prioritises the
GL
version ifAllShader
isn't available, is that the best approach?Kooha-2024-05-08-18-15-40-10MB.mp4