Every time I switch from one workspace to another and then back, Chromium somehow manages to automatically maximize itself. After a while, it crashes Unity somehow. I am using Ubuntu 12.04. The problem goes away and then returns... and then goes away... and then returns... repeatedly as well.
-
1How are you switching workspaces? ctrl-alt-left_arrow/right_arrow, shift-ctrl-alt-left_arrow/right_arrow, workspace switcher, or what? I'm unable to replicate your problem so far with the method's I've tried...– adempewolffMay 22, 2012 at 5:41
-
I have tried it on both unity and LXDE, and nothing happens. The windows stays the same in all workspaces. Can you please elaborate?– MitchMay 22, 2012 at 5:59
-
Thanks, adempewolff! I am using ctrl-alt-left/right/up/down arrows.– SprawnMay 22, 2012 at 11:46
-
Thanks, Mitch. Yes. When I start Chromium, it starts maximized. I then resize the window to the way I like it. If I then use ctrl-alt-rightarrow to move to Workspace 2, and ctrl-alt-leftarrow to move back to Workspace 1, the Chromium window will automatically maximize itself.– SprawnMay 22, 2012 at 12:03
-
It happens to me as well; I switch workspaces by having (eg) Skype in a different workspace and clicking on skype in the task bar. I'm using Ubuntu 11.10.– Carl ManasterJul 13, 2012 at 18:00
1 Answer
I confirm this behaviour with Firefox on Ubuntu 12.04 with Unity 2D.
Some relevant bug reports with more info:
- Ubuntu Bug #1040174: Windows maximised when switching workspaces
- Ubuntu unity-2d Bug #963416: windows maximized after switching workspaces
- Ayatana Design Bug #946649: Unity destroys window layout (maximize) on switching workspaces
- Ayatana Design Bug #797808: Window auto-maximise functionality should be disabled on monitors with a resolution above 1024 x 600
Try running this command from the terminal for a workaround:
gconftool-2 --set --type bool /apps/metacity/general/auto_maximize_windows false
This is very annoying. If I have several Firefox windows open on one workspace and switch workspaces and switch back again, then suddenly I have all of those windows maximized one behind another, I have to unmaximize them one by one, reposition every one of them once again and remember to never switch workspace or otherwise have the layout ruined once more. It makes the whole idea of having workspaces pretty much useless if I have to clean a mess every time I switch them.