JDK-4748054 : Screen insets not updated when display settings are changed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2
  • Priority: P5
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2002-09-16
  • Updated: 2006-01-13
Related Reports
Relates :  
Description
With the fix for 4654713, screen insets are now correctly updated when the Windows taskbar is moved onto a secondary monitor.  However there is still one edge case where screen insets are reported incorrectly.  If the taskbar is on a secondary monitor which is then removed from the Windows desktop, the taskbar is automatically moved to the remaining monitor.  However, the insets for this monitor are still reported as 0,0,0,0.  I wager that this matters almost never, but is a bug all the same.  My first guess is that we need to recalculate the HMONITOR structures on a WM_DISPLAYCHANGE as we do for WM_SETTINGCHANGE.  Such a change would require some ordering/locking/threading investigation.

Comments
EVALUATION This bug is not essential to fix in the Mantis release. ###@###.### 2003-01-13
13-01-2003