New issue
Advanced search Search tips

Issue 820954 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 19
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Mac/Cocoa: RenderWidgetHostViewCocoa doesn't ever get resignFirstResponder

Project Member Reported by mblsha.y...@gmail.com, Mar 12 2018

Issue description

Chrome Version: 67.0.3364.0 (Developer Build) (64-bit) Revision	248ce84359e18e425f774147d1de4bbeac9ebe27
OS: macOS Version 10.13.3 (Build 17D47)

What steps will reproduce the problem?
(1) Set a breakpoint on -[RenderWidgetHostViewCocoa resignFirstResponder]
(2) Open two tabs
(3) Switch between them

What is the expected result?
RenderWidgetHostViewCocoa from the deactivating tab should get -resignFirstResponder and the new tab should get -becomeFirstResponder.

What happens instead?
When I set a breakpoint in -[FramedBrowserWindow makeFirstResponder:] and activate a different tab, the current responder is a TabbedBrowserWindow, and a new one is a RenderWidgetHostViewCocoa.

When I set a regexp breakpoint on *resignFirstResponder* it only ever gets called for TabbedBrowserWindow. And it's a mystery how the firstResponder gets to TabbedBrowserWindow in the first place.

The fix for  crbug.com/818133  (https://chromium-review.googlesource.com/c/chromium/src/+/943064) is related to this bug: with that CL applied if you focus a password text field on one tab and switch to another, the secure input would still be enabled.
 
Cc: ellyjo...@chromium.org
Labels: -Pri-3 Pri-2
Status: Available (was: Untriaged)
Ah. That does seem like a bug. Not sure if anyone will have time to look at it from our end in the near future, but maybe!
Labels: Hotlist-DesktopUIToolingRequired Hotlist-DesktopUIChecked
Status: WontFix (was: Available)
***UI Mass Triage ***

We were unable to reproduce this bug. If this bug still reproduces for you, please reopen or file a new issue. Thanks!

Sign in to add a comment