RuidSiel / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

[mac] Active state is not updated when switching the application to the background #298

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It does not appear that the active state of the CEF view is updated when 
switching the application to the background. For example, we have some lists 
with a row highlight that is blue when the list is focused. When switching to 
another view the selection is drawn using a gray color instead, but this does 
not happen when switching the application to the background, and the text field 
carets keep blinking even when the window is not active.

Original issue reported on code.google.com by magreenb...@gmail.com on 8 Aug 2011 at 5:57

GoogleCodeExporter commented 9 years ago
If you need notification when focus changes between different NSWindows it will 
be necessary to provide handlers for NSWindowDidBecomeMainNotification, 
NSWindowDidResignMainNotification and similar notifications (see 
chrome/browser/app_controller_mac.mm for an example). This will also be 
necessary to properly remove focus from the BrowserWebView (for instance, to 
gray out focused input fields) when focus moves to a new NSWindow.

Original comment by magreenb...@gmail.com on 7 Feb 2012 at 6:03

GoogleCodeExporter commented 9 years ago
Issue 501 has been merged into this issue.

Original comment by magreenb...@gmail.com on 3 Oct 2012 at 5:34

GoogleCodeExporter commented 9 years ago
Issue 840 has been merged into this issue.

Original comment by magreenb...@gmail.com on 15 Jan 2013 at 2:01

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 11 Oct 2013 at 1:55