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

modifiers.command() not working correctly / Editor example incorrect #2573

Closed
4 tasks done
xvbcfj opened this issue Sep 10, 2024 · 0 comments
Closed
4 tasks done

modifiers.command() not working correctly / Editor example incorrect #2573

xvbcfj opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xvbcfj
Copy link

xvbcfj commented Sep 10, 2024

Is your issue REALLY a bug?

  • My issue is indeed a bug!
  • I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

See example program for the editor: https://github.com/iced-rs/iced/blob/master/examples/editor/src/main.rs#L142

Apparently Cmd+S is not being detected as key S + modifiers.command but instead Cmd shows up as Named(Super) and modifiers.command is false.

What is the expected behavior?

Cmd+S should save the Editor file.

Version

master

Operating System

macOS

Do you have any log output?

No response

@xvbcfj xvbcfj added the bug Something isn't working label Sep 10, 2024
@hecrj hecrj closed this as completed in 2829c12 Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant