fvwm 2.6.6 compiled on Jul 15 2016 at 13:02:34
Fedora 24: 4.9.8-100.fc24.x86_64
Start xterm as: xterm -T T11 -n N11
The title shows as T11. Iconify, the icon label is also T11. I was expecting N11 (fvwm identify properly shows Name of T11 and icon name of N11).
Now, do:
bash> echo -ne “\033]0;T22\007”
The window title changes to T22. Iconify, and the icon label remains T11. Do fvwm identify, and it shows Name: T22 and Icon Name: T22. Again, do:
echo -ne “\033]0;T33\007”
Title changes to T33, now icon label upon iconifying shows T22!!
So, looks like xterm icon label is now showing properly when iconified!
Please try 2.6.7. There was a bug that was fixed somewhere there that dealt with something similar to this. I would have to track down the details, but please try the current stable release and see if the issue is the same.
I cannot confirm the issue with rxvt, but I have similar problem with some apps.
Take for example Xfe. FVWM for no reason shows only previous title which Xfe set a step back.
Anyways please try 2.6.7 and see if you still have the issue lynxlynx.
As for the actual issue of fvwm updating the name/icon name of a window there have been some issues that maybe related, there is this bugreport from debian
which seems to say a fix for the issue there was fixed, but I think this is a different issue. This was not correctly using WM_ICON_NAME vs WM_NAME which seems to be different than it not being updated. So I searched the mailing list archives.
So there is an older issue in which trying to fix this issue caused a crash and the fix for the crashes was this issue is still present. I’m unsure if any work has been done on this. You may want to send an email to fvwm-workers to report this bug. In the report be clear on how to reproduce it and it may or may not get attention (fvwm development is slow, but bug reports are addressed sometimes).
So seems this bug was known about, but has just kinda been put aside.
fvwm 2.6.7 still has this, but indeed a link to mailing list thread did help.
I played around with TitleFormat / IconTitleFormat and determined that either
TitleFormat %i
IconTitleFormat %i
, or
TitleFormat %n
IconTitleFormat %i
do solve my issue.
With
TitleFormat %n
IconTitleFormat %n
I see the issue is the same.
I tested it in a test user with:
fvwm 2.6.7 compiled on Feb 18 2017 at 00:47:05
with support for: ReadLine, XPM, Shape, XShm, SM, Bidi text, Xinerama, XRender, XCursor, XFT, NLS
This diff also solves this issue without .fvwmrc adjusting: