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.

Bug 95951 - [60cat] Dualscreen: NetBeans opens always on the primary monitor
Summary: [60cat] Dualscreen: NetBeans opens always on the primary monitor
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: DUAL_MONITOR
Depends on:
Blocks:
 
Reported: 2007-02-19 15:44 UTC by cezariusz
Modified: 2008-12-22 11:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2007-02-19 15:44:33 UTC
NetBeans IDE Dev (Build 200702131900)
1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
Windows XP version 5.1 running on x86
pl_PL (nb); UTF-8

1. Start NetBeans
2. Move it to secondary monitor and maximize
3. Close NetBeans
4. Start NetBeans - opens again on the primary monitor (secondary is to the 
right from the primary, it extends the desktop)
Comment 1 novakm 2007-07-26 08:47:54 UTC
Please try latest build of 6.0. I've just tried described scenario and it works as expected.
Comment 2 cezariusz 2007-07-26 12:44:36 UTC
It still opens on the primary monitor.

Product Version: NetBeans IDE Dev (Build 200706180000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: 
Windows XP version 5.1 running on x86; Cp1250; pl_PL (nb) Userdir: C:\Documents and Settings\Cezar\.netbeans\dev

I'll try to download the latest build now.
Comment 3 cezariusz 2007-07-26 15:26:48 UTC
Still opens on the primary monitor.

Product Version: NetBeans IDE Dev (Build 200707260000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: 
Windows XP version 5.1 running on x86; Cp1250; pl_PL (nb) Userdir: C:\Documents and Settings\Cezar\.netbeans\dev
Comment 4 novakm 2007-07-27 09:06:55 UTC
Well I am afraid I don't know where to reassign this issue. dsimonek you have several DUAL_MONITOR issues assigned,
could you help, please?
Comment 5 David Simonek 2007-07-27 09:56:53 UTC
Sometimes I think I have all UI issues in the world assigned to me :-)

IMHO this may be driven by some setting in Win OS, isn't it a feature that app should always start on primary monitor?
Cezariusz, do other apps behave differently?

Passing to Standa to test on Win OS...
Comment 6 cezariusz 2007-07-27 11:03:44 UTC
All Microsoft Office applications and Internet Explorer 7.0 opens where closed (on the secondary monitor if they have 
been closed on the secondary monitor), Total Commander also, but you have to call "Save position" while on the 
secondary monitor. My own application (http://midicat.net) also opens where closed - I just remember the position, 
which seems to extend to the secondary display.
Comment 7 Stanislav Aubrecht 2007-07-27 16:13:07 UTC
reproduced
Comment 8 Stanislav Aubrecht 2007-07-27 18:19:39 UTC
fixed

/cvs/core/windows/src/org/netbeans/core/windows/PersistenceHandler.java,v  <--  PersistenceHandler.java
new revision: 1.52; previous revision: 1.51
Comment 9 cezariusz 2007-10-25 15:14:19 UTC
Verified with 6.0 Beta 2.

The splash still opens on the primary monitor, but it's not a big deal.
Comment 10 Stanislav Aubrecht 2008-03-04 11:30:33 UTC
*** Issue 121245 has been marked as a duplicate of this issue. ***