Package: awesome
Version: 3.5.2+git7-g9723f23-1
Severity: normal

I have whined on the IRC a few times already but finally decided to document
this issue officially.

I have awesome running as a window manager while I also have XFCE4 menu pannel
and gkrellm (on the side).  When I switch to another tag, regardless of what
was the window which had focus in that tag before, xfce4-pannel acquires focus.
If I kill that pannel -- it would focus then on gkrellm (instead of originally
focused window in that tag).

I believe it used to work just fine and I can't recall with which upgrade
of awesome it started to happen.

Here are xprops for the xfce4-pannel and gkrellm... I guess issue would be
resolved to some degree (I did not check if actually original window among
multiple would get selected) if awesome ignored windows
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK from giving focus while
switching the tags

_NET_WM_USER_TIME(CARDINAL) = 150376920
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 1
_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        window id # of group leader: 0x1000001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 87, 0, 0, 0, 0, 20, 225, 0, 0, 0, 0
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
WM_WINDOW_ROLE(STRING) = "Panel"
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 16777222
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1000005
WM_CLIENT_LEADER(WINDOW): window id # 0x1000001
_NET_WM_PID(CARDINAL) = 14369
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "novo"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified minimum size: 87 by 206
        program specified maximum size: 87 by 206
        window gravity: Static
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, 
_NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "xfce4-panel", "Xfce4-panel"
WM_ICON_NAME(STRING) = "xfce4-panel"
_NET_WM_ICON_NAME(UTF8_STRING) = "xfce4-panel"
WM_NAME(STRING) = "xfce4-panel"
_NET_WM_NAME(UTF8_STRING) = "xfce4-panel"


WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
_NET_WM_STRUT(CARDINAL) = 0, 0, 0, 0
_NET_WM_DESKTOP(CARDINAL) = 0
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        bitmap id # to use for icon: 0x5e00018
        window id # of group leader: 0x5e00001
_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY, _NET_WM_STATE_ABOVE
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_ICON(CARDINAL) =    Icon (16 x 16):
    ▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
    ▓▒▒▒▒░░░░░░░▒▒▒▒
    ▓▒▒▒▒░░░░░░░▒▒▒▒
    ▓▒▒░░░░░▒░░▒▒▒▒▒
    ▓▒▒░  ░▒▒░░░▒▒▒▒
    ▓▒▒▒░ ▒▓░░░░▒▒▒▒
    ▓▒▒░▓ ▓░░░░░▒▒▒▒
    ▓▒░░▒ ▒░░░ ░▒▒▒▒
    ▓▒░▓▒ ▒░░░ ░▒▒▒▒
    ▓░▓▒▒ ▒░░░░▒▒▒▒▒
    ▓░▓▒▒ ▒░░░▒▒▒▒▒▒
    ▓▒▒▒▒ ▒░░░░▒▒▒▒▒
    ▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒
    ▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
    ▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
    ▓▓▓▓▓▒▓▒▒▒▒▓▓▓▓▓


_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 98566149
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_USER_TIME(CARDINAL) = 150466043
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x5e00004
WM_CLIENT_LEADER(WINDOW): window id # 0x5e00001
_NET_WM_PID(CARDINAL) = 15703
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "novo"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified minimum size: 92 by 569
        program specified maximum size: 92 by 569
        window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, 
_NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "gkrellm", "Gkrellm"
WM_ICON_NAME(STRING) = "gkrellm"
_NET_WM_ICON_NAME(UTF8_STRING) = "gkrellm"
WM_NAME(STRING) = "gkrellm"
_NET_WM_NAME(UTF8_STRING) = "gkrellm"



and for a sample window which "looses" the focus upon switching tags

$> xprop
_NET_STARTUP_ID(UTF8_STRING) = 
"awesome/x-terminal-emulator/12201-3-novo_TIME1013740"
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
_NET_WM_STATE(ATOM) = 
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_PID(CARDINAL) = 13988
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLASS(STRING) = "x-terminal-emulator", "URxvt"
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        window id # of group leader: 0x3a001b7
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified minimum size: 22 by 30
        program specified resize increment: 6 by 13
        program specified base size: 16 by 17
        window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "novo"
WM_COMMAND(STRING) = { "urxvt", "-embed", "60817417" }
_NET_WM_ICON_NAME(UTF8_STRING) = "xprop | %~ "
WM_ICON_NAME(STRING) = "xprop | %~ "
_NET_WM_NAME(UTF8_STRING) = "xprop | %~ "
WM_NAME(STRING) = "xprop | %~ "





-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages awesome depends on:
ii  dbus-x11                  1.6.12-1
ii  gir1.2-freedesktop        1.36.0-2+b1
ii  gir1.2-pango-1.0          1.32.5-5+b1
ii  libc6                     2.17-93
ii  libcairo2                 1.12.16-2
ii  libdbus-1-3               1.6.12-1
ii  libgdk-pixbuf2.0-0        2.28.2-1
ii  libglib2.0-0              2.36.3-3
ii  liblua5.1-0               5.1.5-4
ii  libstartup-notification0  0.12-3
ii  libx11-6                  2:1.6.0-1
ii  libxcb-cursor0            0.1.0-1
ii  libxcb-icccm4             0.3.9-2
ii  libxcb-keysyms1           0.3.9-1
ii  libxcb-randr0             1.9.1-3
ii  libxcb-render0            1.9.1-3
ii  libxcb-shape0             1.9.1-3
ii  libxcb-util0              0.3.8-2
ii  libxcb-xinerama0          1.9.1-3
ii  libxcb-xtest0             1.9.1-3
ii  libxcb1                   1.9.1-3
ii  libxdg-basedir1           1.1.1-2
ii  lua-lgi                   0.6.2-1
ii  menu                      2.1.46

Versions of packages awesome recommends:
ii  feh                2.3-2
ii  rlwrap             0.37-3
ii  x11-xserver-utils  7.7~3

awesome suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to