yabar icon indicating copy to clipboard operation
yabar copied to clipboard

yabar_title: Closing last window on workspace doesn't cause an update

Open Narrat opened this issue 7 years ago • 2 comments

I noticed the following behaviour using yabar with openbox. If I'm on a workspace where I'm closing the last window, its name will still be displayed in yabar_title. Even if I'm opening a new window it will still not update unless I switch workspaces or open a second window.

Three pictures to make it visual (hopefully)

1 2 3

Narrat avatar Apr 13 '17 20:04 Narrat

Hi again, could you run xprop -root -spy again while doing the same procedure and report the changes in _NET_ACTIVE_WINDOW?

NBonaparte avatar Apr 13 '17 21:04 NBonaparte

Doesn't look promising. As far as I figured it out from the printed messages, the ID is getting reused?

0x600003 = terminal that runs xprop
0x800001 = yabar
0xc00003 = initially scite (before getting closed), but also the first terminal opened after closing scite
0xe00003 = second terminal


_NET_CURRENT_DESKTOP(CARDINAL) = 4
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0xc00003, 0x600003, 0x800001
_NET_ACTIVE_WINDOW(WINDOW): window id # 0xc00003
_NET_ACTIVE_WINDOW(WINDOW): window id # 0xc00003 # after switch to workspace and scite active window
_NET_CLIENT_LIST(WINDOW): window id # 0x600003, 0x800001 # scite getting closed
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x600003, 0x800001 # dito
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x600003, 0xc00003, 0x800001 # terminal opened
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x600003, 0xc00003, 0x800001
_NET_CLIENT_LIST(WINDOW): window id # 0x600003, 0x800001, 0xc00003
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x600003, 0xc00003, 0x800001
_NET_ACTIVE_WINDOW(WINDOW): window id # 0xc00003 # terminal now active window
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x600003, 0xe00003, 0xc00003, 0x800001 # another terminal opened
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x600003, 0xc00003, 0xe00003, 0x800001
_NET_CLIENT_LIST(WINDOW): window id # 0x600003, 0x800001, 0xc00003, 0xe00003
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x600003, 0xc00003, 0xe00003, 0x800001
_NET_ACTIVE_WINDOW(WINDOW): window id # 0xe00003 # that terminal is active
_NET_ACTIVE_WINDOW(WINDOW): window id # 0xe00003
_NET_CURRENT_DESKTOP(CARDINAL) = 0

Narrat avatar Apr 13 '17 21:04 Narrat