Hi, I installed 12.04 some days ago and replaced Unity with Unity 2D. I
even removed compiz. Everything works fine except the window placement.
Every window opens in the upper left corner at +0+0. After moving a
window its new place will not be remembered on reopening.

First of all: Is this a problem of Metacity or Unity 2D?

I did some research and tried to use Devil's Pie to force all windows to
be centered in the middle of the screen. Although Devil's Pie performs
some of my commands (e.g. (focus), (geometry "400x300")) centering does
not work. I tried to move a Nautilus window some pixels towards the
center by appling the command (geometry "400x300+100+100") but only the
size of the window changed. The x and y offsets are not recognized by
Devil's Pie.

Can this be an indicator for the window placement problem?

Any ideas for a workaround?

------------------------------------------------------------

My settings under /apps/metacity/general are:

 auto_maximize_windows = true
 action_middle_click_titlebar = lower
 button_layout = close,minimize,maximize:
 auto_raise_delay = 1000
 compositing_manager = true
 workspace_switcher_keyboard_cycle = false
 raise_on_click = true
 compositor_effects = true
 theme = Ambiance
 num_workspaces = 4
 focus_new_windows = smart
 resize_with_right_button = false
 capture_before_unmap = true
 visual_bell_type = frame_flash
 action_right_click_titlebar = menu
 action_double_click_titlebar = toggle_maximize
 focus_mode = click
 reduced_resources = false
 application_based = true
 visual_bell = false
 titlebar_uses_system_font = false
 disable_workarounds = true
 titlebar_font = Ubuntu Bold 11
 audible_bell = true
 auto_raise = true
 mouse_button_modifier = <Alt>
 show_maximized_titlebars = false

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to metacity in Ubuntu.
https://bugs.launchpad.net/bugs/971322

Title:
  Unity-2D/metacity window placement/move problems in precise

Status in “metacity” package in Ubuntu:
  Confirmed

Bug description:
  I've upgraded oneiric to precise (32 bit). One annoying problem is the
  window placement/moving policy now. In oneiric this worked (I am using
  Unity-2D, so metacity, composing manager/effects are enabled) very
  well. If I open a new window, it will be placed "stacked" on existing
  window (eg if I open a new terminal (usually I have to open more of
  them), even if there is lots of "free" space on the workspace. So, I
  think metacity in oneiric tries to use available 'free' screen space,
  which is not true for oneiric. Another annoying thing is the window
  border "resistance". In oneiric, if I move a window, there is need for
  a little "push more" action to be able to move window when border is
  at another window's border. It's a great help to align windows in a
  nice way. In precise, this does not work, or at least it behaves
  oddly: if I move a window towards another horizontally this _is_ this
  effect, however not at the border but _before_ it! There is a huge
  space, probably the same size as the Unity launcher bar, is it
  possible, that positions are miscalculated? I am using "auto hide" for
  Unity. There is similar problem vertically however the "gap" is
  smaller, and I have no idea if there is some relation of the size of
  the gap and any other thing.  It's about half of the height of the top
  panel, for example.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: metacity 1:2.34.1-1ubuntu9
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic-pae 3.2.13
  Uname: Linux 3.2.0-21-generic-pae i686
  ApportVersion: 2.0-0ubuntu2
  Architecture: i386
  Date: Mon Apr  2 09:05:42 2012
  InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release i386 
(20100816.2)
  SourcePackage: metacity
  UpgradeStatus: Upgraded to precise on 2012-03-01 (31 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/971322/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to