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

Button and ToggleButton are not behaving correctly on MacOS/Catalyst #16755

Closed
ArchieCoder opened this issue May 16, 2024 · 4 comments
Closed
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@ArchieCoder
Copy link
Contributor

ArchieCoder commented May 16, 2024

Current behavior

Button:

  • No mouse move effect
  • When a button is clicked, it keeps its state: black foreground and black borderline

ToggleButton:

  • No mouse move effect
  • When it is clicked, it can't be unclicked

I have the impression the check state can't be uncheck.

Update: even without a style on ToggleButton, the state does not toggle after the first click.

Mac.mov

Expected behavior

It should behave like the Windows version
https://github.com/unoplatform/uno/assets/1608424/0f1bfc70-7991-44e9-a785-fef645aff7f5

How to reproduce it (as minimally and precisely as possible)

Run my app

For the toggle button, I redefine colors in the MainPage.xaml directly

UnoApp1.zip

Workaround

No response

Works on UWP/WinUI

Yes

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

5.2.132

Affected platforms

MacOs / Catalyst

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@ArchieCoder ArchieCoder added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels May 16, 2024
@ArchieCoder ArchieCoder changed the title Button and ToggleButton are not behaving correctly on MacOS Button and ToggleButton are not behaving correctly on MacOS/Catalyst May 17, 2024
@jeromelaban
Copy link
Member

Thanks for the report this is a duplicate of #12467

@jeromelaban jeromelaban closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
@agneszitte
Copy link
Contributor

@jeromelaban do we need to re-open this issue (or open a new one specifically?) for what seems like a regression for the press state that stays pressed even after the pointer is released, as #12467 is only related to the support for over states.

Related test details for Uno Calculator:
I tested both the first and last builds available on TestFlight for both Uno Calculator and Uno Calculator Gallery and I am able to reproduce the same behavior below on all of them.
macos-calculator- buttons-issue

Seems a regression for the fact that the buttons stay pressed as it does not happen on the build available on the App Store (submitted 3 months ago).
macos-calculator-store version

@jeromelaban
Copy link
Member

@agneszitte this is a different issue, we can reference this one though.

@agneszitte
Copy link
Contributor

@agneszitte this is a different issue, we can reference this one though.

I have opened #16838 to avoid confusion in the details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

3 participants