Debian Bug report logs - #476386
metacity: Window placement of gnome-terminals not respected from saved session

version graph

Package: metacity; Maintainer for metacity is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for metacity is src:metacity.

Reported by: Manuel Bilderbeek <bilm@oce.nl>

Date: Wed, 16 Apr 2008 11:30:02 UTC

Severity: normal

Found in version metacity/1:2.22.0-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Marco Cabizza <marco87@gmail.com>:
Bug#476386; Package metacity. Full text and rfc822 format available.

Acknowledgement sent to Manuel Bilderbeek <bilm@oce.nl>:
New Bug report received and forwarded. Copy sent to Marco Cabizza <marco87@gmail.com>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Manuel Bilderbeek <bilm@oce.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: metacity: Window placement of gnome-terminals not respected from saved session
Date: Wed, 16 Apr 2008 13:27:38 +0200
Package: metacity
Version: 1:2.22.0-1
Severity: normal

After logging in on a clean desktop, spawning a few gnome-terminals and
saving my session, I see the following things happening.

In ~/.gnome2/session gnome-terminal shows up:

2,RestartCommand=gnome-terminal --sm-config-prefix /gnome-terminal-5L7Tu9/ --sm-client-id 1186bcabc4000120654706300000036850013 --screen 0 --window-with-profile-internal-id=Default --hide-menubar --role=gnome-terminal-31523--1005079979-1206547064 --active --geometry 80x57+855+25 --title bilm@ws042498-linux:\\ ~ --working-directory /home/bilm --zoom 1 --window-with-profile-internal-id=Default --hide-menubar --role=gnome-terminal-31523-2109864045-1206547065 --active --geometry 80x30+1600+599 --title bilm@ws042498-linux:\\ ~ --working-directory /home/bilm --zoom 1 --window-with-profile-internal-id=Default --hide-menubar --role=gnome-terminal-31523-229941220-1206547065 --active --geometry 80x30+1600+0 --title bilm@ws042498-linux:\\ ~ --working-directory /home/bilm --zoom 1 

Notice the geometry options. They reflect the geometry and placement I
intended.

However, when logging in, I see random behaviour. Sometimes the windows
appear at the proper position with the proper size, but shortly after
that, they get resized to default sizes or placed to the wrong position
(often the top left corner of the screen). Sometimes they just get
placed directly at the wrong position and often with the wrong size. It
seems there is some race condition somewhere....

Anyway, this is very annoying. After each login I still have to manually
arrange my gnome-terminals... saving my session was meant to avoid that.

This behaviour started around when GNOME 2.20 got in testing. I've seen
it on several other Debian systems as well.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages metacity depends on:
ii  libatk1.0-0                 1.20.0-1     The ATK accessibility toolkit
ii  libc6                       2.7-10       GNU C Library: Shared libraries
ii  libcairo2                   1.4.14-1     The Cairo 2D vector graphics libra
ii  libgconf2-4                 2.22.0-1     GNOME configuration database syste
ii  libglib2.0-0                2.16.1-2     The GLib library of C routines
ii  libgtk2.0-0                 2.12.9-2     The GTK+ graphical user interface 
ii  libice6                     2:1.0.4-1    X11 Inter-Client Exchange library
ii  libmetacity0                1:2.22.0-1   library of lightweight GTK2 based 
ii  libpango1.0-0               1.20.0-1     Layout and rendering of internatio
ii  libsm6                      2:1.0.3-1+b1 X11 Session Management library
ii  libstartup-notification0    0.9-1        library for program launch feedbac
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxcomposite1              1:0.4.0-1    X11 Composite extension library
ii  libxcursor1                 1:1.1.9-1    X cursor management library
ii  libxdamage1                 1:1.1.1-3    X11 damaged region extension libra
ii  libxext6                    2:1.0.4-1    X11 miscellaneous extension librar
ii  libxfixes3                  1:4.0.3-2    X11 miscellaneous 'fixes' extensio
ii  libxinerama1                2:1.0.3-1    X11 Xinerama extension library
ii  libxrandr2                  2:1.2.2-1    X11 RandR extension library
ii  libxrender1                 1:0.9.4-1    X Rendering Extension client libra
ii  metacity-common             1:2.22.0-1   Shared files of lightweight GTK2 b

Versions of packages metacity recommends:
ii  gnome-session [x-session-mana 2.20.3-2   The GNOME 2 Session Manager

-- no debconf information





Information forwarded to debian-bugs-dist@lists.debian.org, Marco Cabizza <marco87@gmail.com>:
Bug#476386; Package metacity. Full text and rfc822 format available.

Acknowledgement sent to Manuel Bilderbeek <manuel@msxnet.org>:
Extra info received and forwarded to list. Copy sent to Marco Cabizza <marco87@gmail.com>. Full text and rfc822 format available.

Message #10 received at 476386@bugs.debian.org (full text, mbox):

From: Manuel Bilderbeek <manuel@msxnet.org>
To: Debian Bug Tracking System <476386@bugs.debian.org>
Subject: metacity: Please see bug #453688
Date: Sat, 14 Jun 2008 14:00:32 +0200
Package: metacity
Version: 1:2.22.0-1
Followup-For: Bug #476386

Hi,

Please see also bug #453688. When in the loaded session there is
any GNOME panel that is not set to 'expanding', the window-placement
rearranging occurs.
So, you see the saved gnome-terminals come up at the right location and
as soon as applets starting to appear in the gnome-panel, it starts to
resize and grow and then the gnome-terminals get rearranged to weird
locations. Maybe it calls something of xrandr? Because running xrandr
causes the same effect.
When having the gnome-panel to expanding, it takes the whole width of
the screen and does not grow. When doing that, the gnome-terminals stay
at the same position, apparently xrandr is not called then.

I hope this helps.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages metacity depends on:
ii  libatk1.0-0                 1.22.0-1     The ATK accessibility toolkit
ii  libc6                       2.7-10       GNU C Library: Shared libraries
ii  libcairo2                   1.6.4-1+b1   The Cairo 2D vector graphics libra
ii  libgconf2-4                 2.22.0-1     GNOME configuration database syste
ii  libglib2.0-0                2.16.3-2     The GLib library of C routines
ii  libgtk2.0-0                 2.12.9-3     The GTK+ graphical user interface 
ii  libice6                     2:1.0.4-1    X11 Inter-Client Exchange library
ii  libmetacity0                1:2.22.0-1   library of lightweight GTK2 based 
ii  libpango1.0-0               1.20.2-2     Layout and rendering of internatio
ii  libsm6                      2:1.0.3-1+b1 X11 Session Management library
ii  libstartup-notification0    0.9-1        library for program launch feedbac
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxcomposite1              1:0.4.0-3    X11 Composite extension library
ii  libxcursor1                 1:1.1.9-1    X cursor management library
ii  libxdamage1                 1:1.1.1-4    X11 damaged region extension libra
ii  libxext6                    2:1.0.4-1    X11 miscellaneous extension librar
ii  libxfixes3                  1:4.0.3-2    X11 miscellaneous 'fixes' extensio
ii  libxinerama1                2:1.0.3-2    X11 Xinerama extension library
ii  libxrandr2                  2:1.2.2-2    X11 RandR extension library
ii  libxrender1                 1:0.9.4-1    X Rendering Extension client libra
ii  metacity-common             1:2.22.0-1   Shared files of lightweight GTK2 b

Versions of packages metacity recommends:
ii  gnome-session [x-session-mana 2.22.2-1   The GNOME 2 Session Manager

-- no debconf information





Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 11:02:56 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.