Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GEF hangs my application (and others)
GEF hangs my application (and others) [message #185119] Wed, 22 June 2005 22:08 Go to next message
Eclipse UserFriend
Originally posted by: svante_nospam.nospam_lidman_nospam.org

First, I just would like to say that I think that GEF is a great piece of
engineering. But I do believe that I ran into what is a pretty serious bug.

If I select an element in a diagram and moves it to the border of the window
and while autoscrolling is in progress press the right mouse button the
popup menu is displayed. Now the app gets into a state where it just
continues to autoscroll even after releasing the all mouse buttons and the
popup menu stays up without it being possible to select anything from it,
nor is it possible to cancel the menu by pressing escape. I have to kill my
app from the Windows Task Manager (yes, Windows XP it is).

To make sure that the problem isn't in my code I tested it in IBM Rational
RSM and the behavior was the same there.

I am running GEF 3.0.1 and I am unfortunately not in a position to test this
on 3.1 right now.

Now, is this a known issue, if so what did people do to get around it?

If it is fixed in 3.1, I am grateful for any pointers to the fix so that I
can back-port it.

Thanks,

svante
Re: GEF hangs my application (and others) [message #185231 is a reply to message #185119] Thu, 23 June 2005 17:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

That's a rather obscure case, and I don't think clients would be doing
something like that too often, if at all. Open a bug report about it
nonetheless and we'll see if it can be addressed in 3.1.1. I wasn't able to
reproduce this exactly as you said: I was able to dispose the context menu
by clicking elsewhere which stopped the auto-scrolling.

"Svante Lidman" <svante_nospam@nospam_lidman_nospam.org> wrote in message
news:d9cnh0$hmf$1@news.eclipse.org...
> First, I just would like to say that I think that GEF is a great piece of
> engineering. But I do believe that I ran into what is a pretty serious
bug.
>
> If I select an element in a diagram and moves it to the border of the
window
> and while autoscrolling is in progress press the right mouse button the
> popup menu is displayed. Now the app gets into a state where it just
> continues to autoscroll even after releasing the all mouse buttons and the
> popup menu stays up without it being possible to select anything from it,
> nor is it possible to cancel the menu by pressing escape. I have to kill
my
> app from the Windows Task Manager (yes, Windows XP it is).
>
> To make sure that the problem isn't in my code I tested it in IBM Rational
> RSM and the behavior was the same there.
>
> I am running GEF 3.0.1 and I am unfortunately not in a position to test
this
> on 3.1 right now.
>
> Now, is this a known issue, if so what did people do to get around it?
>
> If it is fixed in 3.1, I am grateful for any pointers to the fix so that I
> can back-port it.
>
> Thanks,
>
> svante
>
>
Re: GEF hangs my application (and others) [message #185254 is a reply to message #185231] Thu, 23 June 2005 19:03 Go to previous message
Eclipse UserFriend
Originally posted by: svante_nospam.nospam_lidman_nospam.org

The reason I found it was by pure accident, i.e., my finger slipped on the
mousebutton while autoscrolling and there I was. These things happen you
know, without any conscious thought whatsoever :). For me it is 100%
reproducible in my app as well as in RSM and I can not dispose the menu by
lesser means than killing the process. So while it may be considered a
corner case the consequences are severe. I will open a bug onto it and also
look into it myself.

-- svante

"Pratik Shah" <none@unknown.com> wrote in message
news:d9es46$485$1@news.eclipse.org...
> That's a rather obscure case, and I don't think clients would be doing
> something like that too often, if at all. Open a bug report about it
> nonetheless and we'll see if it can be addressed in 3.1.1. I wasn't able
> to
> reproduce this exactly as you said: I was able to dispose the context menu
> by clicking elsewhere which stopped the auto-scrolling.
>
> "Svante Lidman" <svante_nospam@nospam_lidman_nospam.org> wrote in message
> news:d9cnh0$hmf$1@news.eclipse.org...
>> First, I just would like to say that I think that GEF is a great piece of
>> engineering. But I do believe that I ran into what is a pretty serious
> bug.
>>
>> If I select an element in a diagram and moves it to the border of the
> window
>> and while autoscrolling is in progress press the right mouse button the
>> popup menu is displayed. Now the app gets into a state where it just
>> continues to autoscroll even after releasing the all mouse buttons and
>> the
>> popup menu stays up without it being possible to select anything from it,
>> nor is it possible to cancel the menu by pressing escape. I have to kill
> my
>> app from the Windows Task Manager (yes, Windows XP it is).
>>
>> To make sure that the problem isn't in my code I tested it in IBM
>> Rational
>> RSM and the behavior was the same there.
>>
>> I am running GEF 3.0.1 and I am unfortunately not in a position to test
> this
>> on 3.1 right now.
>>
>> Now, is this a known issue, if so what did people do to get around it?
>>
>> If it is fixed in 3.1, I am grateful for any pointers to the fix so that
>> I
>> can back-port it.
>>
>> Thanks,
>>
>> svante
>>
>>
>
>
Previous Topic:SWT components in the palette
Next Topic:How to draw a rotated rectangle in Draw2D?
Goto Forum:
  


Current Time: Fri Dec 13 03:54:56 GMT 2024

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

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

Back to the top