Kazu46Machi / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

Focus/blur are not working as intended #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by api.roman.public@gmail.com on 4 Dec 2008 at 7:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
#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*.

Original comment by mike%gea...@gtempaccount.com on 5 Dec 2008 at 5:02

GoogleCodeExporter commented 8 years ago
Ah sorry about that... it's been a long day :)

Original comment by api.roman.public@gmail.com on 5 Dec 2008 at 7:05

GoogleCodeExporter commented 8 years ago
No problem, I have a lot of trouble focusing when my eyes are getting blurry at 
the 
end of the day too. :-)

Original comment by mike%gea...@gtempaccount.com on 5 Dec 2008 at 7:44

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 22 May 2009 at 1:41

GoogleCodeExporter commented 8 years ago
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.

Original comment by vandint...@gmail.com on 22 Jul 2009 at 9:19

GoogleCodeExporter commented 8 years ago
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.

Original comment by api.roman.public@gmail.com on 22 Jul 2009 at 9:21

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 12:52

GoogleCodeExporter commented 8 years ago
Bulk edit.

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 1:02

GoogleCodeExporter commented 8 years ago
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.

Original comment by api.roman.public@gmail.com on 26 Aug 2009 at 9:28

GoogleCodeExporter commented 8 years ago
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/6a32
fdfcc60236e

If this issue is still not fixed, please let us know.

Original comment by api.roman.public@gmail.com on 9 Sep 2009 at 10:17

GoogleCodeExporter commented 8 years ago
Issue 111 has been merged into this issue.

Original comment by bcke...@google.com on 28 Jun 2011 at 9:18