This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Windows can show off screen if secondary monitor is missing | ||
---|---|---|---|
Product: | platform | Reporter: | mclaassen <mclaassen> |
Component: | Window System | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | dsimonek |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mclaassen
2007-11-06 04:25:01 UTC
Reassigning to "core". doesn't it happen for any application that used to be on the "secondary" monitor that isn't available anymore? Please, reopen if this is NetBeans specific issue or you disagree. Most other applications, my own included, check to see what the screen bounds are before positioning a window. MS Office and Firefox are specific examples of other applications that do this. Applications that don't can be pretty frustrating. This scenario is becoming more and more common, and most applications made within the past couple of years, handle this gracefully. Detecting the case of where a monitor is unplugged during a session is probably not a big deal. The more common case, at least for me, is that the secondary monitor is either there or not at startup. (If I turn on my laptop at home or on the road, I don't have it. If I start my laptop at work, I do.) Some handy methods to help provide the monitor configuration: GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice[] gs = ge.getScreenDevices(); GraphicsConfiguration config = device.getDefaultConfiguration(); Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(config); Passing to Standa, as he is using dual monitor setup. i wasn't able to reproduce this issue on win xp, jdk 1.5.0_13, nb080303 i think it's a duplicate of #95951 *** This issue has been marked as a duplicate of 95951 *** confirmed with netbeans 8.2 on win7 |