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

fix(gtk): Fix get scan code in GtkKeyboardInputSource #16671

Merged

Conversation

lindexi
Copy link
Contributor

@lindexi lindexi commented May 10, 2024

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

Now the GtkKeyboardInputSource will use the InputHelper.TryConvertKeyCodeToScanCode to convert the key code to scan code which will always return false. It means the scan code same as the key code.

What is the new behavior?

The GtkKeyboardInputSource will use the gtk to get the scan code

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

See https://docs.gtk.org/gdk3/method.Event.get_scancode.html

Reference #16670

Origin commit : 98c965a

Cc @ramezgerges

Internal Issue (If applicable):

@github-actions github-actions bot added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label May 10, 2024
@lindexi lindexi force-pushed the t/lindexi/GtkKeyboardInputSource branch from bd29ba1 to 8ad0fbd Compare May 10, 2024 07:35
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16671/index.html

1 similar comment
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16671/index.html

@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16671/index.html

@Youssef1313
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@jeromelaban
Copy link
Member

Thanks for your contribution!

@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16671/index.html

@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16671/index.html

@jeromelaban jeromelaban merged commit c1656f6 into unoplatform:master May 10, 2024
103 checks passed
@lindexi
Copy link
Contributor Author

lindexi commented May 11, 2024

Thank you.

@lindexi lindexi deleted the t/lindexi/GtkKeyboardInputSource branch May 11, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/skia ✏️ Categorizes an issue or PR as relevant to Skia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants