Re: TextBox - cannot select text with mouse?

2013-02-23 Thread Kody
It turned out that it was indeed a CSS issue:

I did some -moz-user-select: -moz-none; to prevent doubleclick highlight
issues on some of my components. And (of course) this would also affect the
inputs. I excluded input elements now and everything works fine again.


2013/2/22 Jens 

> Are you doing any crazy things in your app? :-)
>
> Have you used Event.addNativePreviewHandler() somewhere and the handler
> maybe busts certain mouse events? Or overwritten any onBrowserEvent()
> methods somewhere in your outer App UI?
>
> Couldn't think of anything else that forbids you to select text on any
> textbox available in your app. My best guess is that you have canceled
> certain native events by mistake.
>
> -- J.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: TextBox - cannot select text with mouse?

2013-02-22 Thread Jens
Are you doing any crazy things in your app? :-)

Have you used Event.addNativePreviewHandler() somewhere and the handler 
maybe busts certain mouse events? Or overwritten any onBrowserEvent() 
methods somewhere in your outer App UI?

Couldn't think of anything else that forbids you to select text on any 
textbox available in your app. My best guess is that you have canceled 
certain native events by mistake.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: TextBox - cannot select text with mouse?

2013-02-22 Thread membersound
What I also noticed: I have a CellTable/DataGrid with EditTextCells, which 
so use input text fields.
Within the onBrowserEvent() I can see that mouse clicks are received. BUT 
the cursor selection within text in the edit fields does not change.
I can move the cursor by Arrow Keys, but not by Mouse Clicks.

Tried this from different machines and different browsers, so it must be 
within my application.

That's very strange that this behaviour is the same vor all available input 
fields. Wether they come from a TextBox or are inside a CellTable es 
EditableTextCell, they just don't care...

Am Freitag, 22. Februar 2013 20:21:42 UTC+1 schrieb membersound:
>
> CTRL+A for selecting the whole text works just as expected. So I can 
> probably count css styles out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: TextBox - cannot select text with mouse?

2013-02-22 Thread Kody
CTRL+A for selecting the whole text works just as expected. So I can
probably count css styles out.


2013/2/22 Manuel 

> Hey,
>
> maybe you styles have highlighted text in the same color as your
> background color?
> Some time ago I had a webpage where the selected text just looked like the
> non selected... so maybe its just something in your css?
>
> Regards,
> Manuel
>
> Am Freitag, 22. Februar 2013 18:52:24 UTC+1 schrieb membersound:
>
>> Thanks, that's very strange.
>>
>> Could I somehow have *disabled *mouse interaction on a input field
>> globally??
>>
>> I just added a TextBox upmost of my application, and the behaviour is
>> the same: neither mouse selection nor POS1 or END keys work.
>>
>> 
>>  
>>   
>>
>> Am Freitag, 22. Februar 2013 15:48:21 UTC+1 schrieb Jens:
>>>
>>> I can select text in TextBox and ValueBox. Maybe a hidden div is above
>>> your TextBox? You can check that using your browsers developer tools.
>>>
>>> -- J.
>>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: TextBox - cannot select text with mouse?

2013-02-22 Thread Manuel
Hey,

maybe you styles have highlighted text in the same color as your background 
color?
Some time ago I had a webpage where the selected text just looked like the 
non selected... so maybe its just something in your css?

Regards,
Manuel

Am Freitag, 22. Februar 2013 18:52:24 UTC+1 schrieb membersound:
>
> Thanks, that's very strange.
>
> Could I somehow have *disabled *mouse interaction on a input field 
> globally??
>
> I just added a TextBox upmost of my application, and the behaviour is the 
> same: neither mouse selection nor POS1 or END keys work.
>
> 
>  
>   
>
> Am Freitag, 22. Februar 2013 15:48:21 UTC+1 schrieb Jens:
>>
>> I can select text in TextBox and ValueBox. Maybe a hidden div is above 
>> your TextBox? You can check that using your browsers developer tools.
>>
>> -- J.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: TextBox - cannot select text with mouse?

2013-02-22 Thread membersound
Thanks, that's very strange.

Could I somehow have *disabled *mouse interaction on a input field 
globally??

I just added a TextBox upmost of my application, and the behaviour is the 
same: neither mouse selection nor POS1 or END keys work.


 
  

Am Freitag, 22. Februar 2013 15:48:21 UTC+1 schrieb Jens:
>
> I can select text in TextBox and ValueBox. Maybe a hidden div is above 
> your TextBox? You can check that using your browsers developer tools.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: TextBox - cannot select text with mouse?

2013-02-22 Thread Jens
I can select text in TextBox and ValueBox. Maybe a hidden div is above your 
TextBox? You can check that using your browsers developer tools.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.