Issue metadata
Sign in to add a comment
|
is_browser_shortcut in WebKeyboardEvent is broken (always false) |
||||||||||||||||||||||
Issue descriptionThis regressed some time in the past month. I suspect https://codereview.chromium.org/2781633003/ as that's the only thing that's touched this code recently. Am investigating.
,
May 11 2017
ToT on Linux returns true for: Ctrl-S
,
May 11 2017
It's a Mac OS only change at https://codereview.chromium.org/2824803004/diff/40001/chrome/browser/ui/cocoa/browser_window_cocoa.mm. I believe the original implementation is not correct, returning true from e. BrowserCommandController::IsReservedCommandOrKey() indicates the event is a browser shortcut.
,
May 11 2017
ToT on Mac returns false for Command-S. Probably Mac-only. I have some ideas in mind on how to write a test. I'll write it and run it by you.
,
May 11 2017
There are some keyboard tests that predate me that I tried to reactivate (see https://codereview.chromium.org/2246913002/) but haven't gotten around to it. They were broken on Mac and I didn't have a Mac at the time. Not sure if they can be extended to cover the shortcut functionality.
,
May 11 2017
My first attempt at a test is https://codereview.chromium.org/2874313002 but it's showing Linux as failing when you are saying that it works. I'll give the test another try tomorrow, but perhaps you can see why it's not working.
,
May 11 2017
I would suggest to submit change https://codereview.chromium.org/2874153004/ first to revert the behavior to its original state first.
,
May 12 2017
I would follow whatever Dave recommends re the revert, but this still needs a test.
,
May 12 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fc91a3995bfd7cf39ce78b3b7d6fe69feadb9f34 commit fc91a3995bfd7cf39ce78b3b7d6fe69feadb9f34 Author: zijiehe <zijiehe@chromium.org> Date: Fri May 12 17:47:44 2017 Revert change to BroserWindowCocoa::PreHandleKeyboardEvent in 2824803004 BUG= 721384 Review-Url: https://codereview.chromium.org/2874153004 Cr-Commit-Position: refs/heads/master@{#471357} [modify] https://crrev.com/fc91a3995bfd7cf39ce78b3b7d6fe69feadb9f34/chrome/browser/ui/cocoa/browser_window_cocoa.mm
,
Jun 23 2017
Sorry for the delay. I have confirmed that the revert has fixed this. Marking as fixed, and I will be creating a test to prevent a regression. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by a...@chromium.org
, May 11 2017