Bug#347388: vim-gtk: gvim --remote results in a raised window
without focus
Paulo Marcel Coelho Aragao
marcelpaulo+l at gmail.com
Tue Jan 10 13:56:23 UTC 2006
Package: vim-gtk
Version: 1:6.4-006+1
Severity: normal
I use gvim to edit mutt mails with the command:
gvim --remote
I ran Xfce, and xfwm4 raises the gvim window but doesn't give it focus.
I took this discussion to the Xfce user mailing list and it was found out that
gvim is using the EWMH standard NET_ACTIVE_WINDOW to activate its existing
window, but it's passing an old timestamp. More updated window managers, such
as xfwm4, don't focus the window if the timestamp is too old. Older window
managers, such as fluxbox, don't support the timestamp mechanism, so they
always focus the window. I refer you more details on this article from the
Xfce discussion thread:
http://article.gmane.org/gmane.comp.desktop.xfce.user/11189
Paulo
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages vim-gtk depends on:
ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
ii libc6 2.3.5-11 GNU C Library: Shared libraries an
ii libcairo2 1.0.2-3 The Cairo 2D vector graphics libra
ii libfontconfig1 2.3.2-1.1 generic font configuration library
ii libglib2.0-0 2.8.5-1 The GLib library of C routines
ii libgpmg1 1.19.6-21 General Purpose Mouse - shared lib
ii libgtk2.0-0 2.8.9-2 The GTK+ graphical user interface
ii libice6 6.9.0.dfsg.1-2 Inter-Client Exchange library
ii libncurses5 5.5-1 Shared libraries for terminal hand
ii libpango1.0-0 1.10.2-1 Layout and rendering of internatio
ii libsm6 6.9.0.dfsg.1-2 X Window System Session Management
ii libx11-6 6.9.0.dfsg.1-2 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.9.0.dfsg.1-2 X Window System miscellaneous exte
ii libxi6 6.9.0.dfsg.1-2 X Window System Input extension li
ii libxinerama1 6.9.0.dfsg.1-2 X Window System multi-head display
ii libxrandr2 6.9.0.dfsg.1-2 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0.2-1 X Rendering Extension client libra
ii libxt6 6.9.0.dfsg.1-2 X Toolkit Intrinsics
ii vim-gui-common 1:6.4-006+1 Vi IMproved - Common GUI files
ii vim-runtime 1:6.4-006+1 Vi IMproved - Runtime files
vim-gtk recommends no packages.
-- no debconf information
More information about the pkg-vim-maintainers
mailing list