Dual screen centers the active window

Reboot

New member
Local time
4:08 PM
Messages
8
Hi everyone,

I'm working on deploying Windows 7 Pro into my office and one of the problems I've come across is that, when a window opens on a dual screen system it opens centered on the two screens. This leaves one half of the window on one screen and half on the other screen. While this doesnt sound like a major problem, my test user is getting every non full screen window opening split between the two screens. Has anyone seen this kind of behavior before?
 

Attachments

  • Center_Screen.jpg
    Center_Screen.jpg
    82.8 KB · Views: 53

My Computer

Computer Manufacturer/Model Number
Dell Latitude E6500
OS
Windows 7 Pro, Windows XP Pro
CPU
Intel Core i7-620M (2.66GHz, 4M cache)
Memory
4.0 GB, DDR3-1333MHz SDRAM (2 DIMMS)
Graphics Card(s)
512MB nVidia NVS 3100M
Monitor(s) Displays
Dell P190S 19" Standard LCD
Screen Resolution
1600x900 Laptop Display, 1280x1024 Second Display
Hard Drives
250GB 7200rpm HDD
I've had dual screens for quite a while, and seldom see that.
Usually the box pops up on the primary screen.
 

My Computer

Computer Manufacturer/Model Number
Gateway FX-510X
OS
Windows 7 Ultimate x64 RTM
CPU
Intel(R) Pentium(R) D CPU 3.00GHz
Motherboard
Intel OEMD975XW2G1
Memory
6 GB dual channel DDR2 333 MHz
Graphics Card(s)
NVIDIA GeForce 7800 GTX 256 MB
Sound Card
Creative X-Fi Fatal1ty Extreme Gamer
Monitor(s) Displays
15" Planar PL170 LCD, 17" Gateway FPD1965 LCD
Screen Resolution
1280 x 1024
Hard Drives
64 GB SSD Crucial
2000 GB internal WDC
500 GB internal WDC
Hi everyone,

I'm working on deploying Windows 7 Pro into my office and one of the problems I've come across is that, when a window opens on a dual screen system it opens centered on the two screens. This leaves one half of the window on one screen and half on the other screen. While this doesnt sound like a major problem, my test user is getting every non full screen window opening split between the two screens. Has anyone seen this kind of behavior before?

hi if you drag the pop up to the middle of either screen and then close it
the next time it pops up it should be in the middle of one or the other of the screens

brad
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
my own build
OS
xp/vista/win7/win8/10 tech preview
CPU
PHENOM II X4 Quad Core 965 Black Edition CPU, 3.40 GHz
Motherboard
GA-MA790FXT-UD5P
Memory
G.Skill 8GB (4x XMS3 2GB) PC-12800 (1600MHz
Graphics Card(s)
nvidia 9500 gt
Sound Card
on board
Monitor(s) Displays
T231H / X243H ACER
Screen Resolution
1980/1080
Hard Drives
Hitachi 500 samsung1terabyte wd 750
PSU
550 watt
Case
cooler master
Cooling
stock
Keyboard
microsoft
Mouse
logitech
Internet Speed
20000 dl 1020 ul exetel
Other Info
booting xp32 2x dual pci-e digital tv tuners
xp pro v 1xusb2 digital tv tuner
vista ultimate 64
win7 64 win8 64
We've tried dragging it and closing it in one of the two screens but this has not resolved the problem. One thing I will point out is that the software that does this is running in a virtual computer for XP compatibility. No matter where we close one of these windows the next one always reappears on the split between the two screens.
 

My Computer

Computer Manufacturer/Model Number
Dell Latitude E6500
OS
Windows 7 Pro, Windows XP Pro
CPU
Intel Core i7-620M (2.66GHz, 4M cache)
Memory
4.0 GB, DDR3-1333MHz SDRAM (2 DIMMS)
Graphics Card(s)
512MB nVidia NVS 3100M
Monitor(s) Displays
Dell P190S 19" Standard LCD
Screen Resolution
1600x900 Laptop Display, 1280x1024 Second Display
Hard Drives
250GB 7200rpm HDD
I have seen this, but only with Error messages and the "info" windows that show up when launching certain apps.

Is this happening with every non-full screen program or just a few in particular. the coding is probably saying to center the window by dividing total screenwidth and screenheight by 2 to find center of screen.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS G60-RBBX05
OS
Win7 Home Premium 64x
CPU
Intel Core 2 Duo P7450 / 2.13 GHz (2.29 with Extreme Turbo)
Memory
4 GB PC-6400 Hyundai (2X2) at 800Mhz
Graphics Card(s)
NVIDIA GeForce GTX 260M 1GB DDR3 VRAM
Monitor(s) Displays
16" LED Backlit
Screen Resolution
1366 x 768 on laptop 1600x1050 max res on 22" external mon
Hard Drives
OCZ Agility 3 60GB SSD / 320 GB - Serial ATA-150 - 7200 rpm
PSU
6-cell Lithium ion { lasts 1.5 hours }
Case
ASUS G60 Laptop
Keyboard
Chicklet type back-lit (white light) keyboard
Mouse
Logitech G9 Laser Mouse 3200dpi and 1000 reports per minute
Internet Speed
Comcast 8.60mb/s up - 3.11mb/s down
Antivirus
MSE
Browser
Firefox
Other Info
General mid-budget gaming Comp. Low batterylife - High FrameRates - currently overheating problems :(

2nd Rig: Case: Rosewill BLACKHAWK Gaming ATX Mid Tower Computer Case

Mobo: GIGABYTE GA-990FXA-UD3
CPU: AMD FX-6200 Zambezi 3.8GHz (4.1GHz Turbo)
Heatsink: COOLER MASTER V8 CPU Cooler
RAM: Patriot Viper 3 8GB (2 x 4GB) 240-Pin DDR3 SDRAM 1866 (PC3 15000)
GPU: SAPPHIRE Radeon HD 6850 1GB 2
This is happening with two programs that we have to run in Windows XP Compatibility mode. The programs are being run in non-full screen mode, usually positioned on the right hand monitor. Each time the user does something that would cause an error window or info window to appear it pops in right on the dividing line. All other programs running normally on Win 7 are not behaving in this manner.
 

My Computer

Computer Manufacturer/Model Number
Dell Latitude E6500
OS
Windows 7 Pro, Windows XP Pro
CPU
Intel Core i7-620M (2.66GHz, 4M cache)
Memory
4.0 GB, DDR3-1333MHz SDRAM (2 DIMMS)
Graphics Card(s)
512MB nVidia NVS 3100M
Monitor(s) Displays
Dell P190S 19" Standard LCD
Screen Resolution
1600x900 Laptop Display, 1280x1024 Second Display
Hard Drives
250GB 7200rpm HDD
This is because the code for the program is saying "display errorwindow A at position x,y (center of screen)"

Technically, actual code whould look something like this:

display errorwindow A at position x,y where x= 1/2(screen_width) - 1/2 (errorwindow_width) and y= 1/2(screen_height) - 1/2 (errorwindow_height)

or something like that.

I dont think, if you move it, it is going to remember the screenposition as its screenposition is always calculated as find-center-of-screen.


If you run it on a one-monitor workstation you wont see this. Are you seeing the issue if you run it as full-screen?
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS G60-RBBX05
OS
Win7 Home Premium 64x
CPU
Intel Core 2 Duo P7450 / 2.13 GHz (2.29 with Extreme Turbo)
Memory
4 GB PC-6400 Hyundai (2X2) at 800Mhz
Graphics Card(s)
NVIDIA GeForce GTX 260M 1GB DDR3 VRAM
Monitor(s) Displays
16" LED Backlit
Screen Resolution
1366 x 768 on laptop 1600x1050 max res on 22" external mon
Hard Drives
OCZ Agility 3 60GB SSD / 320 GB - Serial ATA-150 - 7200 rpm
PSU
6-cell Lithium ion { lasts 1.5 hours }
Case
ASUS G60 Laptop
Keyboard
Chicklet type back-lit (white light) keyboard
Mouse
Logitech G9 Laser Mouse 3200dpi and 1000 reports per minute
Internet Speed
Comcast 8.60mb/s up - 3.11mb/s down
Antivirus
MSE
Browser
Firefox
Other Info
General mid-budget gaming Comp. Low batterylife - High FrameRates - currently overheating problems :(

2nd Rig: Case: Rosewill BLACKHAWK Gaming ATX Mid Tower Computer Case

Mobo: GIGABYTE GA-990FXA-UD3
CPU: AMD FX-6200 Zambezi 3.8GHz (4.1GHz Turbo)
Heatsink: COOLER MASTER V8 CPU Cooler
RAM: Patriot Viper 3 8GB (2 x 4GB) 240-Pin DDR3 SDRAM 1866 (PC3 15000)
GPU: SAPPHIRE Radeon HD 6850 1GB 2
Hi everyone,

I'm working on deploying Windows 7 Pro into my office and one of the problems I've come across is that, when a window opens on a dual screen system it opens centered on the two screens. This leaves one half of the window on one screen and half on the other screen. While this doesnt sound like a major problem, my test user is getting every non full screen window opening split between the two screens. Has anyone seen this kind of behavior before?

hi if you drag the pop up to the middle of either screen and then close it
the next time it pops up it should be in the middle of one or the other of the screens

brad

I have had this happen many times as well. Unfortunately Brad’s solution only works if the program is designed to remember the last position. Many applications just center the message not thinking about multi-monitors. Every time this happens to me I post or email a message to the author of the software hoping they will fix the software to support multi-monitor as this is becoming the norm.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
that usually happens when the screens are set for horizontal span vs Dual View.

In Horizontal span, if you maximize a window it will maximize across all screens, with Dual View it will only maximize on the screen it is on.
 

My Computer

Computer Manufacturer/Model Number
HAL-9000
OS
Windows 7 Ultimate 64bit
CPU
Intel i7 3770K
Motherboard
Asus Sabertooth Z77
Memory
16GB DDR3 1333 Corsair XMS3
Graphics Card(s)
XFX HD6950 2GB EyeFinity
Sound Card
Logitech G35 & Sennheiser PC135 & VIA HD
Monitor(s) Displays
23" HP 2310e, 23" Samsung B2230, 21.5" Viewsonic
Screen Resolution
5760x1080
Hard Drives
16TB of Storage
128GB & 256GB Crucial M4 SSD's, 2X 1TB WD Black, 3x 2TB WD, 3x 2TB Samsung F4, 1.5TB Seagate, WD 500GB,
PSU
Antec True Power New 650watt
Case
Cooler Master HAF-932
Cooling
Corsair H60 Hydro Cooler, 3x 230mm Fans, 2x120mm Fan
Keyboard
Logitech G15 and G13
Mouse
Logitech G700 Gaming Mouse
Internet Speed
50/10 Mbit
Other Info
Speakers : Alesis M1 Active Mk2 Studio Monitors , APC RS 1200 UPS, HP 4500DN Color Laser, HP P1006 mono Laser, Kodak 8500 Dye-Sub, Epson 1280 inkjet, Epson Worforce 610 MFC
that usually happens when the screens are set for horizontal span vs Dual View.

In Horizontal span, if you maximize a window it will maximize across all screens, with Dual View it will only maximize on the screen it is on.

That makes complete sense, and it should work that way, unfortunately for some applications it does not. Some software is programmed in such a way as it will split the dialog box between the screens anyway regardless if you are in dual view or not.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
that usually happens when the screens are set for horizontal span vs Dual View.

In Horizontal span, if you maximize a window it will maximize across all screens, with Dual View it will only maximize on the screen it is on.

That makes complete sense, and it should work that way, unfortunately for some applications it does not. Some software is programmed in such a way as it will split the dialog box between the screens anyway regardless if you are in dual view or not.

I've been using dual screens for 10 years now, and I haven't ran across any programs that do that. really strange.
 

My Computer

Computer Manufacturer/Model Number
HAL-9000
OS
Windows 7 Ultimate 64bit
CPU
Intel i7 3770K
Motherboard
Asus Sabertooth Z77
Memory
16GB DDR3 1333 Corsair XMS3
Graphics Card(s)
XFX HD6950 2GB EyeFinity
Sound Card
Logitech G35 & Sennheiser PC135 & VIA HD
Monitor(s) Displays
23" HP 2310e, 23" Samsung B2230, 21.5" Viewsonic
Screen Resolution
5760x1080
Hard Drives
16TB of Storage
128GB & 256GB Crucial M4 SSD's, 2X 1TB WD Black, 3x 2TB WD, 3x 2TB Samsung F4, 1.5TB Seagate, WD 500GB,
PSU
Antec True Power New 650watt
Case
Cooler Master HAF-932
Cooling
Corsair H60 Hydro Cooler, 3x 230mm Fans, 2x120mm Fan
Keyboard
Logitech G15 and G13
Mouse
Logitech G700 Gaming Mouse
Internet Speed
50/10 Mbit
Other Info
Speakers : Alesis M1 Active Mk2 Studio Monitors , APC RS 1200 UPS, HP 4500DN Color Laser, HP P1006 mono Laser, Kodak 8500 Dye-Sub, Epson 1280 inkjet, Epson Worforce 610 MFC
that usually happens when the screens are set for horizontal span vs Dual View.

In Horizontal span, if you maximize a window it will maximize across all screens, with Dual View it will only maximize on the screen it is on.

That makes complete sense, and it should work that way, unfortunately for some applications it does not. Some software is programmed in such a way as it will split the dialog box between the screens anyway regardless if you are in dual view or not.

I've been using dual screens for 10 years now, and I haven't ran across any programs that do that. really strange.

I have not been using dual screens for that long, for me about 6 total years, starting with Windows XP, then Vista and now Windows 7. Windows 7 seems to handle the dialog boxes very differently than Windows XP does. I can run the same software on Windows XP and it will put the dialog box centered on the primary monitor. However Office 2007 on Windows 7 will put the box on the secondary screen jammed against the left side of the screen.

As you can see from the screen shot, the dialog box overlays a bit on the primary monitor.
 

Attachments

  • DialogBoxes.jpg
    DialogBoxes.jpg
    65.7 KB · Views: 47

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
I wouldnt say that I've resolved this problem but I've come up with a solution to prevent the centered window from happening. Since I'm running legacy XP software in the virtual XP mode I figured that I'd just let the user run a full window XP virtual computer. This way she can manage both XP programs in one window with all pop-up windows being centered in the virtual computer's display. Otherwise, no amount of fiddling with the display settings changed the location of pop-up windows for those programs when they were running in XP mode.

Thanks everyone for your suggestions on this! I really appreciate all the help I've gotten from the community. :)
 

My Computer

Computer Manufacturer/Model Number
Dell Latitude E6500
OS
Windows 7 Pro, Windows XP Pro
CPU
Intel Core i7-620M (2.66GHz, 4M cache)
Memory
4.0 GB, DDR3-1333MHz SDRAM (2 DIMMS)
Graphics Card(s)
512MB nVidia NVS 3100M
Monitor(s) Displays
Dell P190S 19" Standard LCD
Screen Resolution
1600x900 Laptop Display, 1280x1024 Second Display
Hard Drives
250GB 7200rpm HDD
It has to do with the way Windows recognizes your desktop as displayed by your videocard. I'm guessing with your card, Windows sees you have one big desktop instead of an extended desktop, which would show a primary display and secondary display. I had the same problem running two monitors with AMD's Eyefinity.

I'm not sure of the exact names or the specific steps, but in nVidia Control Panel, you would need to set up your display as an extended desktop.
 

My Computer

Computer Manufacturer/Model Number
Rig 1
OS
Windows 7 Ultimate x64
CPU
AMD Phenom II X4 940 Black Edition @ 3.4GHz (AM2+)
Motherboard
Gigabyte GA-MA790X-UD4P (AM2+)
Memory
Corsair CM2X4096-8500C5 (4 X 2GB)
Graphics Card(s)
XFX Radeon HD 5770 / Diamond Radeon HD 5770 CrossFireX
Sound Card
Asus Xonar DS (PCI)
Monitor(s) Displays
Samsung SyncMaster 932bw+ (3)
Screen Resolution
4320x900
Hard Drives
OCZ Vertex 2 80 GB - Windows 7 System --
WD Caviar Black 1TB - Music, Movies, Vids, Pics --
WD Caviar Black 640GB - User Profiles & Games --
WD My Book 320GB external
PSU
Corsair CMPSU-750TX
Case
Cooler Master HAF 932
Cooling
Corsair Hydro Series H50
Keyboard
Logitech Desktop Wave
Mouse
Logitech LX8 Laser
Internet Speed
20 down / 2 up
Other Info
LG GGC-H20L Blu-Ray / HDDVD combo --
Hauppauge HVR-1250 --
Silverstone MFP-51 --
Logitech Webcam C600
I was thinking as well about Virtualization, as I use it for servers at work, but didn't know if that was a possible workaround for your setup. I am glad you had that available and it (sort of) solved your problem.

Also look into what mpcrsc562 said above about the extended desktop.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS G60-RBBX05
OS
Win7 Home Premium 64x
CPU
Intel Core 2 Duo P7450 / 2.13 GHz (2.29 with Extreme Turbo)
Memory
4 GB PC-6400 Hyundai (2X2) at 800Mhz
Graphics Card(s)
NVIDIA GeForce GTX 260M 1GB DDR3 VRAM
Monitor(s) Displays
16" LED Backlit
Screen Resolution
1366 x 768 on laptop 1600x1050 max res on 22" external mon
Hard Drives
OCZ Agility 3 60GB SSD / 320 GB - Serial ATA-150 - 7200 rpm
PSU
6-cell Lithium ion { lasts 1.5 hours }
Case
ASUS G60 Laptop
Keyboard
Chicklet type back-lit (white light) keyboard
Mouse
Logitech G9 Laser Mouse 3200dpi and 1000 reports per minute
Internet Speed
Comcast 8.60mb/s up - 3.11mb/s down
Antivirus
MSE
Browser
Firefox
Other Info
General mid-budget gaming Comp. Low batterylife - High FrameRates - currently overheating problems :(

2nd Rig: Case: Rosewill BLACKHAWK Gaming ATX Mid Tower Computer Case

Mobo: GIGABYTE GA-990FXA-UD3
CPU: AMD FX-6200 Zambezi 3.8GHz (4.1GHz Turbo)
Heatsink: COOLER MASTER V8 CPU Cooler
RAM: Patriot Viper 3 8GB (2 x 4GB) 240-Pin DDR3 SDRAM 1866 (PC3 15000)
GPU: SAPPHIRE Radeon HD 6850 1GB 2
Back
Top