Please work with the Windows team to create a proper way to use the emoji picker

%3CLINGO-SUB%20id%3D%22lingo-sub-1096368%22%20slang%3D%22en-US%22%3EPlease%20work%20with%20the%20Windows%20team%20to%20create%20a%20proper%20way%20to%20use%20the%20emoji%20picker%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096368%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsource.chromium.org%2Fchromium%2Fchromium%2Fsrc%2F%2B%2Fmaster%3Aui%2Fbase%2Femoji%2Femoji_panel_helper_win.cc%3Bl%3D20%3Fq%3Demoji%2520picker%26amp%3Bss%3Dchromium%26amp%3BoriginalUrl%3Dhttps%3A%252F%252Fcs.chromium.org%252F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsource.chromium.org%2Fchromium%2Fchromium%2Fsrc%2F%2B%2Fmaster%3Aui%2Fbase%2Femoji%2Femoji_panel_helper_win.cc%3Bl%3D20%3Fq%3Demoji%2520picker%26amp%3Bss%3Dchromium%26amp%3BoriginalUrl%3Dhttps%3A%252F%252Fcs.chromium.org%252F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%2F%2F%20This%20sends%20Windows%20Key%20%2B%20'.'%20(both%20keydown%20and%20keyup%20events).%0A%2F%2F%20%22SendInput%22%20is%20used%20because%20Windows%20needs%20to%20receive%20these%20events%20and%0A%2F%2F%20open%20the%20Emoji%20picker.%0A%2F%2F%20TODO(crbug.com%2F827404)%3A%20Move%20to%20a%20specialized%20Windows%20API%20once%20it%20is%0A%2F%2F%20available.%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Ethis%20doesn't%20look%20good%2C%20especially%20in%20a%20Microsoft%20browser%20on%20Microsoft's%20own%20platform.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Super Contributor

https://source.chromium.org/chromium/chromium/src/+/master:ui/base/emoji/emoji_panel_helper_win.cc;l...

 

// This sends Windows Key + '.' (both keydown and keyup events).
// "SendInput" is used because Windows needs to receive these events and
// open the Emoji picker.
// TODO(crbug.com/827404): Move to a specialized Windows API once it is
// available.

this doesn't look good, especially in a Microsoft browser on Microsoft's own platform.  

0 Replies