Ubuntu

xterm moves to upper left when clicking titel bar

Reported by Axel G. Rossberg on 2012-05-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Undecided
Unassigned
compiz (Ubuntu)
Undecided
Unassigned

Bug Description

I can produce the problem by starting an xterm and clicking (or double clicking) the title bar. It moves one pixle to the upper left.
Same xclock, and xfontsel, but not xfig, xpdf or any software built on gnome.
Since I use a touchpad with separate mouse bottons, we can't blame a tremor for that.
New since my recent upgrade to natty.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xterm 268-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-15.59-generic 2.6.38.8
Uname: Linux 2.6.38-15-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,regex,winrules,mousepoll,resize,gnomecompat,wall,compiztoolbox,animation,wobbly,extrawm,workarounds,place,vpswitch,imgpng,move,session,expo,ezoom,staticswitcher,ring,fade,scale]
CompositorRunning: compiz
Date: Tue May 22 16:38:06 2012
DistUpgraded: Log time: 2012-05-19 00:47:37.024120
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 vboxhost, 4.0.12, 2.6.35-32-generic, x86_64: installed
 vboxhost, 4.0.12, 2.6.38-15-generic, x86_64: installed
GraphicsCard:
 Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Matsushita Electric Industrial Co., Ltd. Device [10f7:8338]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007.1)
Lsusb:
 Bus 002 Device 014: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Panasonic Corporation CF-S9LYFEDR
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-15-generic root=UUID=f39b5cd2-6e9f-4aae-abd2-e052a63390f1 ro quiet splash acpi_osi= vt.handoff=7
Renderer: Unknown
SourcePackage: xterm
UpgradeStatus: Upgraded to natty on 2012-05-19 (3 days ago)
dmi.bios.date: 07/30/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V3.00L10
dmi.board.asset.tag: No Asset Tag
dmi.board.name: CFS9-3
dmi.board.vendor: Panasonic Corporation
dmi.board.version: 1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Panasonic Corporation
dmi.chassis.version: 001
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV3.00L10:bd07/30/2010:svnPanasonicCorporation:pnCF-S9LYFEDR:pvr003:rvnPanasonicCorporation:rnCFS9-3:rvr1:cvnPanasonicCorporation:ct10:cvr001:
dmi.product.name: CF-S9LYFEDR
dmi.product.version: 003
dmi.sys.vendor: Panasonic Corporation
version.compiz: compiz 1:0.9.4+bzr20110606-0ubuntu1~natty2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2.1
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3.2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4.1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7.3
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

affects: ubuntu → xterm (Ubuntu)

On Tue, May 22, 2012 at 04:05:38PM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> I can produce the problem by starting an xterm and clicking (or double clicking) the title bar. It moves one pixle to the upper left.
> Same xclock, and xfontsel, but not xfig, xpdf or any software built on gnome.
> Since I use a touchpad with separate mouse bottons, we can't blame a tremor for that.
> New since my recent upgrade to natty.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.04
> Package: xterm 268-1ubuntu1
> ProcVersionSignature: Ubuntu 2.6.38-15.59-generic 2.6.38.8
> Uname: Linux 2.6.38-15-generic x86_64
> Architecture: amd64
> CompizPlugins: [core,bailer,detection,composite,opengl,decor,regex,winrules,mousepoll,resize,gnomecompat,wall,compiztoolbox,animation,wobbly,extrawm,workarounds,place,vpswitch,imgpng,move,session,expo,ezoom,staticswitcher,ring,fade,scale]
> CompositorRunning: compiz

I don't see the window manager mentioned (presuming it is the gnome bundled
stuff).

It's possible that you're exposing yet another bug in compiz.

xterm patch #268 introduces a feature for toggling to full-screen mode,
which I see is triggered in some configurations by the gnome window manager(*)).
That's over a year old, by the way. #269 makes the feature configurable,
e.g., the "fullscreen" resource.

(*) this is a feature of the window manager, not xterm, and would normally
    be addressed by configuring the window manager...

You should be able to verify if it is a compiz bug by temporarily disabling
that aspect of your configuration.

--
Thomas E. Dickey <email address hidden>
http://invisible-island.net
ftp://invisible-island.net

>> I can produce the problem by starting an xterm and clicking (or double clicking) the title bar. It moves one pixle to the upper left.
>> Same xclock, and xfontsel, but not xfig, xpdf or any software built on gnome.
>> Since I use a touchpad with separate mouse bottons, we can't blame a tremor for that.
>> New since my recent upgrade to natty.
>>
>> ProblemType: Bug
>> DistroRelease: Ubuntu 11.04
>> Package: xterm 268-1ubuntu1
>> ProcVersionSignature: Ubuntu 2.6.38-15.59-generic 2.6.38.8
>> Uname: Linux 2.6.38-15-generic x86_64
>> Architecture: amd64
>> CompizPlugins: [core,bailer,detection,composite,opengl,decor,regex,winrules,mousepoll,resize,gnomecompat,wall,compiztoolbox,animation,wobbly,extrawm,workarounds,place,vpswitch,imgpng,move,session,expo,ezoom,staticswitcher,ring,fade,scale]
>> CompositorRunning: compiz
>
> I don't see the window manager mentioned (presuming it is the gnome bundled
> stuff).
>
> It's possible that you're exposing yet another bug in compiz.
>
> xterm patch #268 introduces a feature for toggling to full-screen mode,
> which I see is triggered in some configurations by the gnome window manager(*)).
> That's over a year old, by the way. #269 makes the feature configurable,
> e.g., the "fullscreen" resource.
>
> (*) this is a feature of the window manager, not xterm, and would normally
> be addressed by configuring the window manager...
>
> You should be able to verify if it is a compiz bug by temporarily disabling
> that aspect of your configuration.

I think I am using compiz as my window manager (wobbly windows and
stuff). When doing "metacity --replace" xterm does not move anymore
when clicking the titel bar.

This should not be a problem with xterm, because the same happens with
other legacy X11-programs (xclock, xfontconfig). The simplest piece
of software exhibiting the problem is xmessage. The issue must be
with the interaction between one of the libraries xmessage binds and
compiz

$ ldd /usr/bin/xmessage | sort
 /lib64/ld-linux-x86-64.so.2 (0x00007f9af4443000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9af3870000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9af29ef000)
 libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f9af2e0f000)
 libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f9af302b000)
 libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f9af27e9000)
 libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f9af3c05000)
 libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f9af25e6000)
 libXaw.so.7 => /usr/lib/libXaw.so.7 (0x00007f9af41a6000)
 libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f9af2bf3000)
 libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f9af23e0000)
 libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f9af365e000)
 libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f9af3444000)
 libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00007f9af3233000)
 libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f9af3f40000)
 linux-vdso.so.1 => (0x00007fff6d3ff000)

Hope this helps.

On Fri, May 25, 2012 at 09:52:41AM +0100, Axel G. Rossberg wrote:
> > You should be able to verify if it is a compiz bug by temporarily disabling
> > that aspect of your configuration.
>
> I think I am using compiz as my window manager (wobbly windows and
> stuff). When doing "metacity --replace" xterm does not move anymore
> when clicking the titel bar.
>
> This should not be a problem with xterm, because the same happens with
> other legacy X11-programs (xclock, xfontconfig). The simplest piece
> of software exhibiting the problem is xmessage. The issue must be
> with the interaction between one of the libraries xmessage binds and
> compiz

It sounds as if the problem could be reassigned to compiz then (not an xterm
bug).

--
Thomas E. Dickey <email address hidden>
http://invisible-island.net
ftp://invisible-island.net

affects: xterm (Ubuntu) → compiz (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers