My favorites | Sign in
Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 108: Focus/blur are not working as intended
4 people starred this issue and may be notified of changes. Back to list
 
Reported by api.roman.public, Dec 04, 2008
What steps will reproduce the problem?
1. call GEWindow::focus() or GEWindow::blur() from JavaScript

What is the expected output or behavior? What do you see instead?
The functions should take keyboard focus away/give it to the plugin, but
they don't.

Which plugin version are you using?
4.3.11498.3261

Which browsers and operating systems are affected?
All (not verified)

Please provide any additional information (code snippets/links) below.

Comment 2 by m...@mg.to, Dec 05, 2008
#108 and #111 are not the same issue.

#108 reports that the documented focus and blur *methods* do not work.

#111 is a feature request to add focus and blur *events*.
Comment 3 by api.roman.public, Dec 05, 2008
Ah sorry about that... it's been a long day :)
Comment 4 by m...@mg.to, Dec 05, 2008
No problem, I have a lot of trouble focusing when my eyes are getting blurry at the 
end of the day too. :-)
Comment 5 by api.roman.public, May 21, 2009
(No comment was entered for this change.)
Labels: Component-API
Comment 6 by vandinther, Jul 22, 2009
ge plugin and Chrome cause a lot of headaces. ge plugin won't do keyboard events (Yet
I hope) which means keyboard events need to be handled by the web page. Yet the ge
plugin won't blur. 

As a work around I can call window.focus in the ge plugin mouseup event to steal the
focus away from the plugin.

Most browsers allow me to do that but of course the best browser of all (Chome) is
coded to not allow me to steal focus away.

This leaves ge applications without a reliable way to implement keyboard events. This
is a big problem because I can not support the chrome browser at the moment.
Comment 7 by api.roman.public, Jul 22, 2009
FYI current attempted workaround is here:

earth-api-samples.googlecode.com/svn/trunk/lib/keyboard-focus-hack.js

but yes, this does need to be solved. I'll see what I can do.
Status: Accepted
Comment 8 by api.roman.public, Aug 08, 2009
(No comment was entered for this change.)
Status: Confirmed
Comment 9 by api.roman.public, Aug 08, 2009
Bulk edit.
Comment 10 by api.roman.public, Aug 26, 2009
This should be fixed for all browsers on Windows (not yet for Mac) in the next release.

I will file a separate bug for Mac at some point after the next release.
Status: FixedNotReleased
Labels: -Internal-1457012 Internal-2017753
Comment 11 by api.roman.public, Sep 09, 2009
Fixed as of 5.1.3506.3999 (API v1.003); see announcement here:

http://groups.google.com/group/google-earth-api-notify/browse_thread/thread/6a32fdfcc60236e

If this issue is still not fixed, please let us know.
Status: Fixed
Sign in to add a comment