-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Handle theme changes in ColorPickerSlider #4732
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
Handle theme changes in ColorPickerSlider #4732
Conversation
Thanks robloo for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
39a4919
to
8c72c28
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.
Hi @robloo thanks for opening another PR for this particular issue, somehow missed it so it wasn't on our tracking board.
I didn't see a noticeable difference in the behavior with this fix applied though? Either switching or when loaded, it seems difficult to see the checkerboard in light mode.
Microsoft.Toolkit.Uwp.UI.Controls.Input/ColorPicker/ColorPickerSlider.cs
Outdated
Show resolved
Hide resolved
Microsoft.Toolkit.Uwp.UI.Controls.Input/ColorPicker/ColorPickerSlider.cs
Show resolved
Hide resolved
…rSlider.cs namespace order for stylecop
@michael-hawker This works fine and is doing what was intended. The original issue is the selector circle on the sliders weren't visible against the background color. That is fixed by calling UpdateColors when the theme changes to recalculate the foreground. Microsoft is investing almost nothing in this repository and I don't see it worth my time to continue here. When you asked me to look into the last few issues for the ColorPicker I did immediately -- over the weekend. You then let them sit for a few months. I can't accept my time being used like that. Edit: I've closed the PR (which does still work) because I don't intend to spend more time here. However, you are welcome to resurrect it or use the ideas in a new PR to fix the associated issue. |
@robloo I'm sorry you feel like that, and I apologize. As I called out, I had missed seeing this PR and adding it to our dashboard we've been using to track the upcoming hotfix. I just misunderstood what this fix was about and what to be looking for. We're still investing in the toolkit, as you can see the upcoming hotfix will have nearly 50 fixes: Windows Community Toolkit (view) We're at a transitional period with the introduction of the Windows App SDK, and we've been figuring out how we best support our community moving forward for the long-term with the Toolkit. That's why we spent time to figure out how to rebuild our infrastructure with our new Windows Community Toolkit Labs (see #4487). It allows us to write and test code easily across both UWP and the Windows App SDK (which we can't do here yet), so the next phase is to adopt that system in this repo. These things just take time and we're a small team. We value and appreciate the contributions of our community members, like yourself. I'd love to still merge this PR of yours. |
Fixes
Fixes #4714 (discussed in Issue)
PR Type
What kind of change does this PR introduce?
What is the current behavior?
See issue description.
What is the new behavior?
ColorPickerSlider thumb color changes in response to control theme changes.
PR Checklist
Please check if your PR fulfills the following requirements:
Other information