JDK-4929299 : Service Dialog is not positioned properly if the coords are invalid, on Win32.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-09-27
  • Updated: 2005-12-09
  • Resolved: 2004-09-07
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 Availability Release.

To download the current JDK release, click here.
JDK 6
6 mustangFixed
Related Reports
Relates :  
Description
The specification for ServiceUI.printDialog claims that an implementation will position the print dialog properly if the coordinates specified by the application are invalid. This does not seem to be happening in the case of win32 platforms. On Win32, if I specify the coordinate values as -1000, -1000 then the print dialog vanishes from the screen. But when I run the same application on Solaris, the dialog is getting placed at 0,0 by default if the coordinates are invalid. Similar behaviour should be simulated for win32 also.

This is reproducible on all the builds right from jdk1.4+. 
I have attached a sample testcase. Execute the testcase on any Win32 platform. If you do not see the print dialog then the bug is reproduced.

I tested this on Win XP and Win 2000 and able to reproduce the problem on both.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang FIXED IN: mustang INTEGRATED IN: mustang
08-09-2004

EVALUATION Need to validate the x,y values. ###@###.### 2003-10-20
20-10-2003