Skip to content
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

Windows Picker TextColor on PointerOver has no effect #16751

Closed
jeremy-visionaid opened this issue Aug 15, 2023 · 1 comment · Fixed by #16752
Closed

Windows Picker TextColor on PointerOver has no effect #16751

jeremy-visionaid opened this issue Aug 15, 2023 · 1 comment · Fixed by #16752
Labels
area-controls-picker Picker fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 platform/windows 🪟 t/bug Something isn't working

Comments

@jeremy-visionaid
Copy link
Contributor

Description

On Windows, the Picker control's PointerOver TextColor has no effect

Steps to Reproduce

Add a Picker and configure the PointerOver TextColor via a VisualState.Setter:

                <Picker Title="Select an item" ItemsSource="{Binding PickerItems}" TextColor="Blue">
                    <VisualStateManager.VisualStateGroups>
                        <VisualStateGroup x:Name="CommonStates">
                            <VisualState x:Name="Normal" />
                            <VisualState x:Name="PointerOver">
                                <VisualState.Setters>
                                    <Setter Property="TextColor" Value="Red" />
                                </VisualState.Setters>
                            </VisualState>
                        </VisualStateGroup>
                    </VisualStateManager.VisualStateGroups>
                </Picker>

Expected outcome: Text color changes to Red on pointer over then changes back to blue
Actual outcome: Text color changes to white and stays white (with dark theme)

Link to public reproduction project repository

No response

Version with bug

8.0.0-preview.7.8842

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@jeremy-visionaid jeremy-visionaid added the t/bug Something isn't working label Aug 15, 2023
molesmoke pushed a commit to molesmoke/maui that referenced this issue Aug 15, 2023
Add missing resource key to allow PointerOver styles to work for Picker
controls
molesmoke pushed a commit to molesmoke/maui that referenced this issue Aug 15, 2023
Add missing resource key to allow PointerOver styles to work for Picker
controls
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Aug 15, 2023
@rachelkang rachelkang added this to the Backlog milestone Aug 15, 2023
@samhouts samhouts modified the milestones: Backlog, Under Consideration Aug 15, 2023
@ghost
Copy link

ghost commented Aug 15, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

PureWeen pushed a commit that referenced this issue Aug 19, 2023
Add missing resource key to allow PointerOver styles to work for Picker
controls

Co-authored-by: Jeremy Powell <jeremy@visionaid.com>
rmarinho pushed a commit that referenced this issue Aug 19, 2023
Add missing resource key to allow PointerOver styles to work for Picker
controls

Co-authored-by: Jeremy Powell <jeremy@visionaid.com>
@ghost ghost locked as resolved and limited conversation to collaborators Sep 18, 2023
@samhouts samhouts added fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 platform/windows 🪟 labels Jan 31, 2024
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-picker Picker fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 platform/windows 🪟 t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants