JDK-4077991 : RFE: WinNT: update contents of window as it is being resized
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.0,1.1,1.2.0,1.3.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_nt
  • CPU: generic,x86
  • Submitted: 1997-09-10
  • Updated: 2000-11-29
  • Resolved: 2000-11-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description

Name: sg39081			Date: 09/10/97


Resizing a window (with solid resize ON) in winNT doesn't update correctly, i.e., 
it recalculates the layout only when the drag is finished.


To set the solid resize, try Display Properties (Right click on the WinNT 4.0 desktop), on the
"Plus!" tab there is an option called "Show window contents while
dragging". Check it, then click OK or Apply. After that, the Move/Resize
of any window is solid, and the problem I described appears (compare it
with other applications, such as navigator).



======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin FIXED IN: merlin-beta INTEGRATED IN: merlin-beta
2004-06-14

WORK AROUND Name: sg39081 Date: 09/10/97 none ====================================================================== Name: krT82822 Date: 04/02/2000 Workaround: I don't know of any workaround one can do in the AWT/Swing application. Fixing the JDK: I have located the reason to the incorrect behaviour in the source code for JDK 1.3. File: src\win32\native\sun\windows\awt_Window.cpp Line: 480 Function: AwtWindow::WmSize() The code on this line uses a flag (m_resizing) to always avoid sending size updates during a resize. The correct behavior would be to let the resize updates through when "show window contents while dragging" is active. Probably you can always let the size updates through, because Win32 will itself filter out the size updates when the mentioned display property is disabled. (Review ID: 103175) ======================================================================
2004-06-11

EVALUATION We intend to do this for Merlin. eric.hawkes@eng 1999-12-31 Several new methods have been added to Toolkit.java to allow user control of this behavior where the underlying platform supports it. The Javadoc comments for Toolkit.isDynamicLayoutActive, Toolkit.setDynamicLayout, etc. document the usage and behavior. Note: the code and diagnosis in the workaround section is not correct. eric.hawkes@eng 2000-11-29
2000-11-29