yugalatea / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Broken text selection behavior on CustomControls widgets (IE/Firefox) #246

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: gwt-maps-1.0.3.tar.gz

Detailed description:
In all browsers, simple text cannot be selected properly when wrapped in a
CustomControl.
Still in CustomControl, the TextBox (text input Element) selection behavior
is broken in Internet Explorer and Firefox (but not in Opera and
Chrome/Safari).

Sample :
http://nicolas.cherel.free.fr/samples/gwtmapsselect/welcomeGWT.html
Code :
http://nicolas.cherel.free.fr/samples/gwtmapsselect/code.html

Original issue reported on code.google.com by nicolas....@gmail.com on 26 Feb 2009 at 2:33

GoogleCodeExporter commented 9 years ago
This sounds similar to an issue we fought with for a long time with InfoWindows 
and 
attaching GWT widgets to the map.

I theorize that we need to create a dummy panel for the CustomControl (See the 
InfoWindow.VirtualPanel() inner class)

Original comment by galgwt.reviews@gmail.com on 26 Feb 2009 at 3:06

GoogleCodeExporter commented 9 years ago
My first attempts to work around this failed.  

Original comment by galgwt.reviews@gmail.com on 20 Mar 2009 at 9:53

GoogleCodeExporter commented 9 years ago
That's very sad, i've been searching a lot by myself, but i didn't manage to
understand enough the event management to figure out what happens.

Original comment by nicolas....@gmail.com on 30 Apr 2009 at 1:25

GoogleCodeExporter commented 9 years ago
My application is hitting beta stage. We are planning some improvements, but 
many of
theses depends on fixing that bug. I've planned to take a few days in 
investigation,
is there any advancement i could not be aware of ? 

Original comment by nicolas....@gmail.com on 11 May 2009 at 5:31

GoogleCodeExporter commented 9 years ago
Good news ! It seems that if i use the constructor CustomControl(Anchor, false,
true), so that i set selectable explicitly in the constructor, it seems really
better. I don't know if it is the normal behavior for the maps api, I was 
relying
blindly on the 'boolean isSelectable()' method, convinced that it would have 
the same
effect than passing the selectable parameter of the constructor.

Original comment by nicolas....@gmail.com on 12 May 2009 at 10:25

GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 21 Dec 2009 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 7 May 2010 at 5:33

GoogleCodeExporter commented 9 years ago
The Maps v2 API is now deprecated

Original comment by zundel@google.com on 28 Oct 2011 at 3:44