On 23/07/13 17:44, Masayuki Nakano wrote:
Additionally, for applying "|Meta|" to Windows Logo keys in Linux, we
need to reconsider about the legacy "meta" modifier state of Linux.
Typically, it's mapped to Alt-Shift, but we use the highest priority
modifier state of modifier keys
<https://searchfox.org/mozilla-central/rev/1cbb3aa1ce39581528eb75b08848fe85dd481f20/widget/gtk/nsGtkKeyUtils.cpp#587-598>,
it's not exposed to the web within major distributions' default
settings (i.e., exposed as "|Alt|" and "|Shift|" modifiers). However,
if users customized key mapping to a modifier is pure Meta modifier
key, it may be exposed on Firefox. I'm not sure how we should treat
this. Currently, I'm think that it should be treated as "|Alt|"
because typically "meta" state is mapped to Alt key, but it's just
considered without concrete idea. So, I'm fully open about this issue.
This change is canceled because Sun/Solaris keyboard layout map it to
the Windows Logo keys
<https://phabricator.services.mozilla.com/D183480#inline-1018842>.
So, listing up my intention is:
* Change Windows Logo key |.key| values from "|OS|" to "|Meta|" in
Windows/Linux
* Change Windows Logo key |.code| values from "|OSLeft|"/"|OSRight|"
to "|MetaLeft|"/"|MetaRight|" in Windows/Linux
* Change Command key |.code| values from "|OSLeft|"/"|OSRight|" to
"|MetaLeft|"/"|MetaRight|" in macOS
* Change modifier state of Windows Logo keys from "|OS|" to "|Meta|"
in Windows/Linux (affecting both |.getModifierState()| and |.metaKey|
* Treat legacy meta key/modifier in Linux as "|Alt|" key/modifier
--
Masayuki Nakano<[email protected]>
Working on DOM, Events, editor and IME handling for Gecko
--
You received this message because you are subscribed to the Google Groups
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/e16df6f9-32d5-f74f-cea7-1957b8b84daf%40d-toybox.com.