[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minor bug



* Donald Allen <donaldcallen _at_ gmail _dot_ com> [2015-04-13 15:37:25 -0400]:
> Simplest case: a tag, one frame and an xterm in it. I am running panel.sh,
> to display tags, window title, date and time. For xterm, the window title
> is the shell prompt string and current directory. If you simply exit from
> the shell, say with ctrl-d, the window title remains in the panel. Switch
> to another tag and then back to the original tag, and the title gets
> updated correctly. I note that panel.sh does look for the
> window_title_changed event, so I'm guessing that the window manager itself
> is failing to generate the event in this case, but I haven't researched
> this carefully so it's just a guess.
> 
> Note that if you have two xterms in the frame with different current
> directories and thus different window titles, if you exit from one, the
> window title in the panel gets updated correctly.
> 
> This is not an xterm-specific problem -- I'm just using xterm as a simple
> way to reproduce this. If you have just a browser in a frame and close it,
> the same problem occurs.
> 
> I'm running herbstluftwm 0.6.2-2 on an up-to-date 64-bit Arch Linux system.

Indeed - the panel is listening for the window_title_changed hook
(which is only emitted when the current window changes its title) and
for the focus_changed hook.

I opened an issue here:
https://github.com/herbstluftwm/herbstluftwm/issues/40

Thanks!

Florian

-- 
http://www.the-compiler.org | me _at_ the _minus_ compiler _dot_ org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

Attachment: pgpyufK7M3Bzi.pgp
Description: PGP signature