bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/27785] awt.Frame lack of close event


From: nick at nickhill dot co dot uk
Subject: [Bug awt/27785] awt.Frame lack of close event
Date: 30 May 2006 13:41:47 -0000


------- Comment #3 from nick at nickhill dot co dot uk  2006-05-30 13:41 -------
> Incidental note: I would expect dragging the window to a new size to generate
> 205 but it doesn't in either the sun or classpath implementation.

Further testing events *when dragging window to different size*:

For JRE 1.1.78 
When you begin to drag a window to a different size, a 1005 event is generated.
Whilst the window is being dragged, 205's are generated for the new dimensions.
After you let go of the corner, a 1004 event is generated.

For JRE 1.2.2
When you begin to drag a window to a different size, a 1005 event is generated.
No 205's are generated whilst dragging to a different size. 
After you let go of the corner, a 1004 event is generated.

For JRE 1.3.1
Same as 1.2.2

For JRE 1.4.2
No events generated. Handleevent receives no signal that the frame has been
resized!

For JRE 1.5.0
A 205 is generated when you start to drag a frame to a different size. No event
generated whilst dragging, or when you let go of the corner.

This shows a bizarre inconsistency in the Java API for a very basic window
behaviour.

In this case, I consider the event behaviour of 1.1 most sane, and perhaps 1.5
least sane. With the 1.1 implementation, the program writer has an option of
responding in real time, (live drag) or respond after the user has let go.


-- 

nick at nickhill dot co dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at nickhill dot co dot
                   |                            |uk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27785





reply via email to

[Prev in Thread] Current Thread [Next in Thread]