Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Issue 231753002: Fixing caps lock problems under ChromeOS where the tray does not properly follow the real caps lock… (Closed)

Created:
6 years, 8 months ago by Mr4D (OOO till 08-26)
Modified:
6 years, 7 months ago
Reviewers:
mazda, Daniel Erat, sadrul
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, ben+ash_chromium.org
Visibility:
Public.

Description

Fixing caps lock problems under ChromeOS where the tray does not properly follow the real caps lock change BUG=356393 TEST=visual with chromebooks internal keyboard, external keyboard and with linux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263025

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed & fixed linux desktop #

Total comments: 6

Patch Set 3 : Addressed #

Total comments: 2

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -10 lines) Patch
M ash/system/chromeos/tray_caps_lock.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M ash/system/chromeos/tray_caps_lock.cc View 1 2 2 chunks +24 lines, -8 lines 0 comments Download
M chromeos/ime/fake_xkeyboard.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/ime/fake_xkeyboard.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/ime/xkeyboard.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chromeos/ime/xkeyboard.cc View 1 2 3 4 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Mr4D (OOO till 08-26)
The fix wasn't as simple as it looked at the beginning since it was not ...
6 years, 8 months ago (2014-04-09 20:17:10 UTC) #1
Daniel Erat
https://codereview.chromium.org/231753002/diff/1/ash/system/chromeos/tray_caps_lock.cc File ash/system/chromeos/tray_caps_lock.cc (right): https://codereview.chromium.org/231753002/diff/1/ash/system/chromeos/tray_caps_lock.cc#newcode144 ash/system/chromeos/tray_caps_lock.cc:144: caps_lock_enabled_ = !caps_lock_enabled_; i don't like this -- it ...
6 years, 8 months ago (2014-04-09 20:26:59 UTC) #2
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/231753002/diff/1/ash/system/chromeos/tray_caps_lock.cc File ash/system/chromeos/tray_caps_lock.cc (right): https://codereview.chromium.org/231753002/diff/1/ash/system/chromeos/tray_caps_lock.cc#newcode144 ash/system/chromeos/tray_caps_lock.cc:144: caps_lock_enabled_ = !caps_lock_enabled_; Done! https://codereview.chromium.org/231753002/diff/1/chromeos/ime/fake_xkeyboard.h ...
6 years, 8 months ago (2014-04-09 23:27:01 UTC) #3
Daniel Erat
lgtm with a few more comments https://codereview.chromium.org/231753002/diff/20001/ash/system/chromeos/tray_caps_lock.cc File ash/system/chromeos/tray_caps_lock.cc (right): https://codereview.chromium.org/231753002/diff/20001/ash/system/chromeos/tray_caps_lock.cc#newcode133 ash/system/chromeos/tray_caps_lock.cc:133: // Since Keyboard ...
6 years, 8 months ago (2014-04-09 23:39:39 UTC) #4
Mr4D (OOO till 08-26)
Done! Thanks! https://codereview.chromium.org/231753002/diff/20001/ash/system/chromeos/tray_caps_lock.cc File ash/system/chromeos/tray_caps_lock.cc (right): https://codereview.chromium.org/231753002/diff/20001/ash/system/chromeos/tray_caps_lock.cc#newcode133 ash/system/chromeos/tray_caps_lock.cc:133: // Since Keyboard handling differes between ChromeOS ...
6 years, 8 months ago (2014-04-09 23:44:47 UTC) #5
sadrul
LGTM with one suggested fix below: https://codereview.chromium.org/231753002/diff/30001/chromeos/ime/xkeyboard.cc File chromeos/ime/xkeyboard.cc (right): https://codereview.chromium.org/231753002/diff/30001/chromeos/ime/xkeyboard.cc#newcode396 chromeos/ime/xkeyboard.cc:396: if (current_caps_lock_status_ != ...
6 years, 8 months ago (2014-04-10 01:16:45 UTC) #6
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 8 months ago (2014-04-10 14:15:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/231753002/50001
6 years, 8 months ago (2014-04-10 14:15:40 UTC) #8
Mr4D (OOO till 08-26)
Addressed! Thanks for your review! https://codereview.chromium.org/231753002/diff/30001/chromeos/ime/xkeyboard.cc File chromeos/ime/xkeyboard.cc (right): https://codereview.chromium.org/231753002/diff/30001/chromeos/ime/xkeyboard.cc#newcode396 chromeos/ime/xkeyboard.cc:396: if (current_caps_lock_status_ != enable_caps_lock) ...
6 years, 8 months ago (2014-04-10 14:16:01 UTC) #9
commit-bot: I haz the power
Change committed as 263025
6 years, 8 months ago (2014-04-10 17:55:54 UTC) #10
dzhioev (left Google)
On 2014/04/10 17:55:54, I haz the power (commit-bot) wrote: > Change committed as 263025 Hi, ...
6 years, 7 months ago (2014-05-14 12:29:24 UTC) #11
dzhioev (left Google)
On 2014/05/14 12:29:24, dzhioev wrote: > On 2014/04/10 17:55:54, I haz the power (commit-bot) wrote: ...
6 years, 7 months ago (2014-05-16 12:12:24 UTC) #12
Shu Chen
6 years, 7 months ago (2014-05-20 01:34:06 UTC) #13
Message was sent while issue was closed.
On 2014/05/16 12:12:24, dzhioev wrote:
> On 2014/05/14 12:29:24, dzhioev wrote:
> > On 2014/04/10 17:55:54, I haz the power (commit-bot) wrote:
> > > Change committed as 263025
> > 
> > Hi, we have the same problem on login screen where Caps Lock indicator is
> shown
> > near password field (http://crbug.com/361861).
> > The obvious fix is to apply to SigninScreenHandler exactly the same changes
> that
> > were made in this CL for TrayCapsLock. But it'll cause code duplication.
> > I wonder is it possible to isolate this logic (two different methods for
> > tracking Caps Lock state) somewhere in chromeos/ime?
> 
> Hi again,
> 
> could somebody from IME owners answer to my question?

Not sure if I understand the question correctly, are you suggesting to remove
caps_lock_enabled_ member variable in TrayCapsLock? And move it into
chromeos/ime?

Powered by Google App Engine
This is Rietveld 408576698