SavingGoogleCode / tint2

tint2 is a lightweight panel/taskbar.
GNU General Public License v2.0
0 stars 0 forks source link

Bringing up a Urxvt (rxvt-unicode) window sometimes results in task icon not getting prompt string #484

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click in the launcher area to create a Urxvt terminal

What is the expected output? What do you see instead?

I expect to see the prompt set by bash (in my case "joe@nova:~") in the tint2 
icon (in the taskbar). I usually get that, but sometimes it just says "urxvt", 
which is the default for Urxvt, as if it was not set when launched (race 
condition?). This is intermittent, which makes things difficult, I know. It is 
more common when the first window is created, I believe. Note that if I hit 
enter in the Urxvt terminal, it will then get set (and then looks normal), 
since the prompt string gets sent every time the prompt is displayed.

What version of the product are you using? On what operating system?

727

Which window manager (e.g. openbox, xfwm, metacity, mutter, kwin) or
which desktop environment (e.g. Gnome 2, Gnome 3, LXDE, XFCE, KDE)
are you using?

fvwm

Please provide any additional information below. It might be helpful
to attach your tint2rc file (usually located at ~/.config/tint2/tint2rc).

Original issue reported on code.google.com by j...@wildlava.com on 7 May 2015 at 7:43

Attachments:

GoogleCodeExporter commented 9 years ago
First two Urxvts I bright up this AM showed the issue, so I figured I attach a 
screenshot. Note that the first two icons are simply labeled "urxvt", wheres 
the third has the expected string in the icon.

Original comment by j...@wildlava.com on 8 May 2015 at 12:10

Attachments:

GoogleCodeExporter commented 9 years ago
Does this happen often? I tried for a few minutes and could not reproduce with:

rxvt-unicode (urxvt) v9.14
fvwm 2.5.30
tint2 d2ee0a4 (master from gitlab)

Anyways, I tried to change a little bit the code in the branch title-race to 
avoid this, you can download it from here:

https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=title-race

(you can also see it here https://gitlab.com/o9000/tint2/branches)

For compilation instructions see 
https://gitlab.com/o9000/tint2/wikis/Install#install-manually

Please let me know if it helps (or breaks).

P.S. The hosting has moved to GitLab, as Google Code is shutting down.

Original comment by mrovi9...@gmail.com on 8 May 2015 at 7:54

GoogleCodeExporter commented 9 years ago
Hi, and thanks for trying that change!

Sometimes it happens fairly rarely (I've seen it happen with evince as well as 
urxvt), but lately, I've seen it happen with enough frequency that I can 
reproduce often (maybe 20% of the time, especially if I bring up a new window 
after some idle time).

I'm using:

Arch Linux
urxvt v9.21
fvwm 2.6.5

I just compiled and am now trying your patched version, and so far I have not 
seen the problem! Promising! I'll keep trying and let you know how it goes.

Original comment by j...@wildlava.com on 9 May 2015 at 5:06

GoogleCodeExporter commented 9 years ago
Good news so far! I have not seen the problem since trying your patched version!

Original comment by j...@wildlava.com on 11 May 2015 at 3:55

GoogleCodeExporter commented 9 years ago
Thanks! I will merge it into master soon.

Original comment by mrovi9...@gmail.com on 11 May 2015 at 5:27

GoogleCodeExporter commented 9 years ago
Merged into master.

Original comment by mrovi9...@gmail.com on 13 May 2015 at 8:47