[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] Text event flush when mouse is moving
|
Hi Grant,
really really, baby-beginner mistake
!
a same for me.
Thanks to points to me the '!' that
dramatically change loop event behavior !
Many thanks !
Arnaud.
Grant Gayed <Grant_Gayed@xxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
10/23/2006 03:46 PM
Please respond to
"Eclipse Platform SWT component developers list."
<platform-swt-dev@xxxxxxxxxxx> |
|
To
| "Eclipse Platform SWT component
developers list." <platform-swt-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| Re: [platform-swt-dev] Text event flush
when mouse is moving |
|
Hi Arnaud,
Your read-and-dispatch line should look like:
if (!disp.readAndDispatch()) {
// note the !
Grant
Arnaud De Muyser <ademuyser@xxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
10/19/2006 05:34 AM
Please respond to
"Eclipse Platform SWT component developers list."
<platform-swt-dev@xxxxxxxxxxx> |
|
To
| platform-swt-dev@xxxxxxxxxxx
|
cc
|
|
Subject
| [platform-swt-dev] Text event flush
when mouse is moving |
|
Hi,
I'm using swt-3235 on windows XP and I'm facing strange behavior:
When I (fast) entertext in a text widget only first part of entered character
are displayed by text widget,
the rest of entered character are displayed in text widget only if I move
the mouse (funny !).
On other hand, if text widget is inside a dialog box, entering tet is very
very slow ... (the case in my real program)
See the snippet below, just a shell containing a Text widget.
I use same event loop as swt's snippets.
Does any body have seen this strange behavior ?
I've tried both launch configuration: Java Application and SWT Application
both have same results.
Arnaud.
PS: very simple snippet: _______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Attachment:
DialogTestMain.java
Description: Binary data