With dual monitors (TwinView), maximized windows start up in wrong screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Metacity |
Fix Released
|
Medium
|
|||
metacity (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
I am using two displays, after I added these relevant changes to the default xorg.conf (and enabled the restricted nvidia driver):
Option "TwinView"
Option "MetaModes" "1280x1024 1280x1024"
Option "TwinViewOrient
If I close gedit (or firefox or thunderbird, ...) while it's in a maximized state, the next time it will start in my left virtual screen every time. No matter if I start it from a gnome panel on either monitor, or via Alt-F2, or from a console.
The main window does actually get created on the virtual screen where the mouse pointer is. But after 1/10 of a second it invariably gets moved to the left screen.
If I leave the main window unmaximized before closing it, the next time I start gedit , it will start on the correct screen.
Perhaps related to this: I've initially seen this on Firefox, so I tried the mozilla.org 3.0b5 linux binary and got the same behaivour. But if I try with Firefox 2.0.0.14 from mozilla.org, the window gets created on the correct screen when starting maximized. Unfortunately as soon as I click anywhere on the window, it jumps to the left screen.
Tested with (fresh ubuntu 8.04 install):
- firefox 3.0~b5+
- gedit 2.22.1-0ubuntu1
- metacity 1:2.22.0-0ubuntu4
- nvidia-glx-new 169.12+
- xserver-xorg 1:7.3+10ubuntu10
Changed in metacity: | |
status: | Unknown → New |
Changed in metacity: | |
status: | New → Fix Released |
Changed in metacity: | |
status: | Confirmed → Fix Committed |
Changed in metacity: | |
status: | Fix Committed → New |
Changed in metacity: | |
importance: | Unknown → Medium |
I have the same problem with a slight different xorg configuration, my xorg.conf has two different Monitor, Device and Screen sections, the first is for the CRT monitor the second is for the TV out.
Nvidia 6600gt and proprietary drivers as yours and I'm using hardy (upgraded from gutsy).
I have noticed that if I start a second gnome-panel by pressing Alt+f2 from the TV monitor, and run a Thunar file manager from there all the applications that I run clicking on a file inside thunar are correctly displayed in the TV.
If I run an icon Launcher form the desktop of the TV the application is displayed in the wrong monitor.
So I think this is a nautilus related bug