Discussion:
[ozone-dev] Re: [chromium-dev] Keyboard event issue
Antonio Gomes
2017-11-01 15:10:09 UTC
Permalink
bcc: chromium-dev
cc:ozone-dev

I imagine you have something like
https://codereview.chromium.org/2639053002/ in your tree?
I've built content shell based on ozone-wayland (chromium 58.0.3063.110) and facing a weird issue where no keyboard character can be printed, but the keys like arrows, delete, enter and etc. are functional. Even ctrl+c then ctrl+v can copy paste text, but simply pressing a key doesn't work. I've tried some JavaScript keyboard test page, and it captures key down and key up events, but no text input data. Was thinking about any issue with keymap or text input, but couldn't find anything related. Does anyone have any suggestions? Thanks!
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/b997ccc7-1da9-4c97-a441-f4cd773a9eb6%40chromium.org.
--
--Antonio Gomes
--
You received this message because you are subscribed to the Google Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Bo Gao
2017-11-01 19:53:28 UTC
Permalink
Antonio,
Thanks for the response. Yes, the commit is in the tree.

-Bo
Post by Antonio Gomes
bcc: chromium-dev
cc:ozone-dev
I imagine you have something like
https://codereview.chromium.org/2639053002/ in your tree?
I've built content shell based on ozone-wayland (chromium 58.0.3063.110)
and facing a weird issue where no keyboard character can be printed, but
the keys like arrows, delete, enter and etc. are functional. Even ctrl+c
then ctrl+v can copy paste text, but simply pressing a key doesn't work.
I've tried some JavaScript keyboard test page, and it captures key down and
key up events, but no text input data. Was thinking about any issue with
keymap or text input, but couldn't find anything related. Does anyone have
any suggestions? Thanks!
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/b997ccc7-1da9-4c97-a441-f4cd773a9eb6%40chromium.org
.
--
--Antonio Gomes
--
You received this message because you are subscribed to the Google Groups
"Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
You received this message because you are subscribed to the Google Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Antonio Gomes
2017-11-03 15:28:21 UTC
Permalink
Ok. The (bottom->up) flow would be something like this:

void WaylandKeyboard::Key(..)
void WaylandConnection::DispatchUiEvent(..)
bool WaylandWindow::CanDispatchEvent(..)
bool WaylandWindow::DispatchEvent(..)
void ui::DispatchEventFromNativeUiEvent(..)
void PlatformDisplayDefault::DispatchEvent(..)
...

Do you see if happening upon keypresses?

-
Antonio
Post by Bo Gao
Antonio,
Thanks for the response. Yes, the commit is in the tree.
-Bo
bcc: chromium-dev
cc:ozone-dev
I imagine you have something like
https://codereview.chromium.org/2639053002/ in your tree?
I've built content shell based on ozone-wayland (chromium
58.0.3063.110) and facing a weird issue where no keyboard character
can be printed, but the keys like arrows, delete, enter and etc. are
functional. Even ctrl+c then ctrl+v can copy paste text, but simply
pressing a key doesn't work. I've tried some JavaScript keyboard
test page, and it captures key down and key up events, but no text
input data. Was thinking about any issue with keymap or text input,
but couldn't find anything related. Does anyone have any
suggestions? Thanks!
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the
Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it,
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/b997ccc7-1da9-4c97-a441-f4cd773a9eb6%40chromium.org.
--
--Antonio Gomes
--
You received this message because you are subscribed to the Google
Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it,
--
You received this message because you are subscribed to the Google
Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send
--
You received this message because you are subscribed to the Google Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Loading...