The LXterminal has an option to use Visual bell. If this option is used, the LXTerminal uses the urgency WM_HINT, when notification to user is required. Window manager typically flash LXterminal icon on the task bar, when urgency WM_HINT is set. The issue, which I have observed by LXterminal in conjunction with icewm WM is, that when LXterminal sets urgency WM_HINT, it never clears it. It stays set forever.
Example:
The new LXterminal window, when bell was never used before:
xprop WM_HINTS
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0x1a00007
bitmap id # of mask for icon: 0x1a00012
window id # of group leader: 0x1a00001
The same window, after visual bell was used:
xprop WM_HINTS
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0x1a00007
bitmap id # of mask for icon: 0x1a00012
window id # of group leader: 0x1a00001
The urgency hint bit is set
This behavior, when the urgency WM_HINT is permanently set, causes that the LXterminal icon on task bar occasionally flashes, when WM evaluates status if WM_HINTS, for example when focus is changed.
According to icewm developer:
"It is the responsibility of the application according to section 4.1.2.4 of http://www.x.org/docs/ICCCM/icccm.pdf:
Clients must provide some means by which the user can cause the UrgencyHint flag to be set to zero or the window to be withdrawn. The user’s action can either mitigate the actual condition that made the window urgent, or it can merely shut off the alarm."
You can find more information about investigation of this issue in icewm github:
https://github.com/bbidulock/icewm/issues/772
Can you please update LXterminal to clear the urgency WM_HINT after it was used for the Visual bell? In my understanding, bell is immediate notification and must not be set permanently after the first occasion.
Also, can you please evaluate different approach for Visual bell? For example the xterm flashes one time background of the window during Visual bell, which is more visible and user friendly compared to task bar icon flashing. And also does not need to set the urgency WM_HINT and is more similar to Audible bell behavior.
The version of LXterminal in use is from opensuse Leap 15.4:
lxterminal-0.4.0-bp154.1.86.x86_64