Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » The wizard dialog opened by doubled click was unabled responsed to the mouse event , but could respo
The wizard dialog opened by doubled click was unabled responsed to the mouse event , but could respo [message #110803] Thu, 08 January 2004 09:06 Go to next message
Eclipse UserFriend
Originally posted by: lizhih.cn.ibm.com

Hi all,

I open a wizard dialog when the user double click a edit part on the
graphical editor , the controls on the wizard dialog such as textbox ,
buttons or combo , could not listen the mouse event , but they could listen
the key press event .

This was happened on the linux redhat 7.3 WSAD IE 5.0 , the mouse event
could be listened on the W2K or windows XP .

Does anyone have met this question before ?

I hope I'm lucky to get a response , thank you in advance.
Re: The wizard dialog opened by doubled click was unabled responsed to the mouse event , but could r [message #110829 is a reply to message #110803] Thu, 08 January 2004 16:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I have not seen this problem before. Is it possible that two dialogs are
being opened? One on top of the other? Are you using a MODAL dialog?

If you solve the problem, let us know. IF you don't, try providing code
that will reproduce the example. For example, Take the Logic Example, and
modify one of its editparts to open a dialog similar to the one you are
opening.

"hellen" <lizhih@cn.ibm.com> wrote in message
news:btj6f3$rt1$1@eclipse.org...
> Hi all,
>
> I open a wizard dialog when the user double click a edit part on the
> graphical editor , the controls on the wizard dialog such as textbox ,
> buttons or combo , could not listen the mouse event , but they could
listen
> the key press event .
>
> This was happened on the linux redhat 7.3 WSAD IE 5.0 , the mouse event
> could be listened on the W2K or windows XP .
>
> Does anyone have met this question before ?
>
> I hope I'm lucky to get a response , thank you in advance.
>
>
Re: The wizard dialog opened by doubled click was unabled responsed to the mouse event , but could r [message #110894 is a reply to message #110829] Thu, 08 January 2004 20:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gaslade.yahoo.com

I've seen this problem before. I think we displayed the wizard using
Display.AsyncExec() to get round it.

Guy
Re: The wizard dialog opened by doubled click was unabled responsed to the mouse event , but could r [message #110903 is a reply to message #110894] Thu, 08 January 2004 21:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Any idea what the problem is? Is it because the mouse is down when the
dialog opens?

There needs to be an SWT bugzilla opened for this issue. AsyncExec is
always a risky workaround because the user could press Delete and delete the
editpart before your Runnable is dispatched. (Or press Undo, or close the
editor, or ....)

"Guy Slade" <gaslade@yahoo.com> wrote in message
news:btkdl3$fek$1@eclipse.org...
> I've seen this problem before. I think we displayed the wizard using
> Display.AsyncExec() to get round it.
>
> Guy
>
Re: The wizard dialog opened by doubled click was unabled responsed to the mouse event , but could r [message #110914 is a reply to message #110903] Thu, 08 January 2004 21:09 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

So in your Runnable, calling editpart.isActive() would be a good idea.

"Randy Hudson" <none@us.ibm.com> wrote in message
news:btkgrp$jjo$1@eclipse.org...
> Any idea what the problem is? Is it because the mouse is down when the
> dialog opens?
>
> There needs to be an SWT bugzilla opened for this issue. AsyncExec is
> always a risky workaround because the user could press Delete and delete
the
> editpart before your Runnable is dispatched. (Or press Undo, or close the
> editor, or ....)
>
> "Guy Slade" <gaslade@yahoo.com> wrote in message
> news:btkdl3$fek$1@eclipse.org...
> > I've seen this problem before. I think we displayed the wizard using
> > Display.AsyncExec() to get round it.
> >
> > Guy
> >
>
>
Previous Topic:Locking a selectable edit part
Next Topic:Bendpoints get scaled
Goto Forum:
  


Current Time: Fri Aug 16 21:41:21 GMT 2024

Powered by FUDForum. Page generated in 0.03637 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top